public void Setup()
 {
     _remote = new TcpListener(9999);
     _remote.Start();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CommunicationManager"/> class.
 /// </summary>
 public CommunicationManager(TcpListener listener)
     : this()
 {
     _listener = listener;
     _listener.ConnectionRequested += NewPeerConnected;
 }
Exemple #3
0
 public void Setup()
 {
     _remote = new TcpListener(9999);
     _remote.Start();
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommunicationManager"/> class.
 /// </summary>
 public CommunicationManager(TcpListener listener)
     : this()
 {
     _listener = listener;
     _listener.ConnectionRequested += NewPeerConnected;
 }