コード例 #1
0
ファイル: ConnectionReceiver.cs プロジェクト: cacafaca/uds
 public Task Start()
 {
     ConnectionListener = new Communication.Connection();
     ConnectionListener.Listen(LocalIPEndPoint);
     return(Task.Factory.StartNew(() => StartToReceiveConnections()));
 }
コード例 #2
0
        void HandleNewRemoteConnection(Communication.Connection remoteConnection)
        {
            var communicator = new Communicator(remoteConnection);

            communicator.Comunicate();
        }