예제 #1
0
        public void Connect(IEndPoint endPoint)
        {
            Endpoint = (EndPointWrapper)endPoint;

            socket = CreateSocket(Endpoint.inner);
            socket.Connect(Endpoint.inner);
        }
예제 #2
0
        public void Bind(IEndPoint endPoint)
        {
            Endpoint = (EndPointWrapper)endPoint;

            socket          = CreateSocket(Endpoint.inner);
            socket.DualMode = true;
            socket.Bind(Endpoint.inner);
        }