Esempio n. 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;
 }
Esempio n. 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;
 }