private void ServerOnClientConnected(object sender, ClientConnectedEventArgs e) { var communicator = new ControllerCommunicator(e.Client.GetStream(), logger); //// communicator. }
private void ServerOnClientConnected(TcpClient tcpClient, EventArgs e) { var communicator = new ControllerCommunicator(tcpClient.GetStream(), logger); //// communicator. }
private void ServerOnClientConnected(TcpClient tcpClient, EventArgs e) { var communicator = new ControllerCommunicator(tcpClient.GetStream(), logger); // communicator. }