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