public void StartClient(string host, int port) { NetworkCommon = new NetworkClient(host, port); NetworkCommon.Receive(OnDataReceived); Invoke("ClientConnection", 0); }
public void StartClient( string host, int port ) { NetworkCommon = new NetworkClient( host, port ); NetworkCommon.Receive( OnDataReceived ); Invoke("ClientConnection", 0); }
public void StartServer(int port) { NetworkCommon = new NetworkServer(port); NetworkCommon.Receive(OnDataReceived); }
public void StartServer( int port ) { NetworkCommon = new NetworkServer( port ); NetworkCommon.Receive( OnDataReceived ); }