예제 #1
0
 public void ListenForConnectionsInANewThread(int port)
 {
     connectionListener.ListenForConnectionsInANewThread(port);
     connectionListener.OnClientConnected += tcpClient =>
     {
         communicator.SetupCommunicationWith(tcpClient);
         OnClientConnected?.Invoke();
     };
 }