Пример #1
0
 public TcpListener(IOThread ioThread, SocketBase socket, Options options) :
     base(ioThread, options)
 {
     m_ioObject = new IOObject(ioThread);
     m_address  = new TcpAddress();
     m_handle   = null;
     m_socket   = socket;
 }
Пример #2
0
 public TcpListener([NotNull] IOThread ioThread, [NotNull] SocketBase socket, [NotNull] Options options)
     : base(ioThread, options)
 {
     m_ioObject = new IOObject(ioThread);
     m_address = new TcpAddress();
     m_handle = null;
     m_socket = socket;
 }