Hi everyone,
I’m writing a simple program to communicate between the client (Unity) and Server (Netty). The client uses the Socket in C #.
Above Editor of Unity, I was able to send and receive data between client-server . But when I build a mobile device (both android and ios) are unable to send received data.
Error:
NotSupportedException: Operation is not supported.
at System.Net.Sockets.SocketAsyncEventArgs.DoOperation (SocketAsyncOperation operation, System.Net.Sockets.Socket socket)
at System.Net.Sockets.Socket.SendToAsync (System.Net.Sockets.SocketAsyncEventArgs e)
at SocketClient.Send (System.String serverName, Int32 portNumber, System.String data)
Thanks for help.