Inheritance: IChannel, ITcpIpChannel
Esempio n. 1
0
        public TcpipClient(IPEndPoint endPoint)
        {
            _endPoint = endPoint;
            var socket = new Socket(endPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);

            _client = new TcpipServer.Client(socket);
        }
Esempio n. 2
0
 public TcpipClient(IPEndPoint endPoint)
 {
     _endPoint = endPoint;
     var socket = new Socket(endPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
     _client = new TcpipServer.Client(socket);
 }