示例#1
0
 public void Start(CancellationToken token)
 {
     this._server = new MyTcpListener(this.IPAddress, this.Port);
     this._server.Start();
     this.WaitForClientConnect();
 }
示例#2
0
 public void Start(CancellationToken token)
 {
     this._server = new MyTcpListener(this.IPAddress, this.Port);
     this._server.Start();
     this.WaitForClientConnect();
 }