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