I opened server with,
Network.InitializeServer(32,25000,false);
and connect to myself with,
NetworkConnectionError err= Network.Connect(“127.0.0.1”,25000);
the return message was “noError”.
But,no event handler,
void OnConnectedToServer() {
}
void OnFailedToConnect(NetworkConnectionError error) {
}
none of above two got called after I connect to the server.
And Network.peerType was Disconnected.
Actually,it’s not connected.
Why? Can anyone explain me what?
If I try Network.TestConnection();
the returned message was
Undetermineded.
Plz,anyone help me.
I want to make a connection,plz help me.