- Home /
SendByChannel is not sending anything to the server (getting disconnected)
I am trying to send some bytes from android where I am running a unity game to the server strong desktop (using UNET sendbychannel option)
Using myClient.SendByChannel(clientID, msg, channelid1);
have checked the IP address, port no and the channel ID all are same but unity game at phone fails to create the connection with the server.*
error message is E/Unity: NetworkClient SendByChannel when not connected to a server
The client gets disconnected although it's connected properly at start(). I can't use the same port again.
But when I run the game on the same desktop where the server is also running differently, they are communicating with each other.
Can anyone please tell me why the server is not getting connected now while running on android?
Your answer
Follow this Question
Related Questions
Threading with UDPClient - Editor Freezing 2 Answers
What properties from a HLAPI connection can be used to create a LLAPI connection? 0 Answers
How to synchronize frame updates across a network of multiple (UDP) clients? 0 Answers
Sending and recieving a packet of bytes through a UDP connection 1 Answer