Beispiel #1
0
        public static ISocket CreateBlockingTcpSocket()
        {
            ISocket socketWrapper = new BlockingTcpSocketImpl();

            return(socketWrapper);
        }
Beispiel #2
0
        public static ISocket CreateBlockingFromSocket(ISocket socket)
        {
            ISocket socketWrapper = new BlockingTcpSocketImpl(socket.UserSocket);

            return(socketWrapper);
        }