When I tried create a new socket by doing same as how API done,It cames:
Here is my code ,just same as api:https://github.com/NetEase/UnitySocketIO
void Start () {
string url = "http://192.168.199.128:5500";
client = new Client(url);
client.Opened += SocketOpened;
client.Message += SocketMessage;
client.SocketConnectionClosed += SocketConnectionClosed;
client.Error += SocketError;
client.Connect();
}
private void SocketError(object sender, ErrorEventArgs e)
{
Debug.Log(e.Message);
}
private void SocketConnectionClosed(object sender, EventArgs e)
{
Debug.Log(e);
}
private void SocketMessage(object sender, MessageEventArgs e)
{
Debug.Log(e.Message);
}
private void SocketOpened(object sender, EventArgs e)
{
Debug.Log("Socket Connected!");
}
My Server is running at a VMWare machine.

And the Unity print:

Could you help?Thanks!
When I tried create a new socket by doing same as how API done,It cames:
Here is my code ,just same as api:https://github.com/NetEase/UnitySocketIO
My Server is running at a VMWare machine.


And the Unity print:
Could you help?Thanks!