Exemplo n.º 1
0
        public static ISocket CreateBlockingTcpSocket()
        {
            ISocket socketWrapper = new BlockingTcpSocketImpl();

            return(socketWrapper);
        }
Exemplo n.º 2
0
        public static ISocket CreateBlockingFromSocket(ISocket socket)
        {
            ISocket socketWrapper = new BlockingTcpSocketImpl(socket.UserSocket);

            return(socketWrapper);
        }