public static ISocket CreateBlockingTcpSocket() { ISocket socketWrapper = new BlockingTcpSocketImpl(); return(socketWrapper); }
public static ISocket CreateBlockingFromSocket(ISocket socket) { ISocket socketWrapper = new BlockingTcpSocketImpl(socket.UserSocket); return(socketWrapper); }