Exemplo n.º 1
0
 public MOTCPClient(TcpClient client)
 {
     this._client     = client;
     this._remoteIpep = (IPEndPoint)client.Client.RemoteEndPoint;
     this._settings   = new MBTCPClientSettings();
     this._settings.PollingRateMilliseconds = 25;
 }
Exemplo n.º 2
0
 public MOTCPClient(IPEndPoint remoteIpep)
 {
     this._client     = new TcpClient(AddressFamily.InterNetwork);
     this._remoteIpep = remoteIpep;
     this._settings   = new MBTCPClientSettings();
     this._settings.PollingRateMilliseconds = 25;
 }