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

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