You can transfer snake directions by trimming the parameters. When you broadcast the message through server, append the parameter at the end. When the client will receive the data, trim the parameter, perform a check on it and execute the direction.
I think this is all you need to communicate direction between the client snakes. I could be wrong.Code:While CurClien*****nnected Dim IncomingMessage As String = StreamX.ReadLine 'Trim the parameter. For example trims 'Snake # 1 Says: /Go Up' and returns 'Go Up' Dim parameter as string = IncomingMessage.Substring(IncomingMessage . Indexof("/")+1) If parameter = "MoveLeft" Then 'Snake MoveLeft Code Here... ElseIf parameter = "MoveUp" Then 'Snake MoveUp Code Here... End If End While