uint m_uiBackLog; // maximum number of connections in queue public UdtSocket() { //m_TimeStamp(0), //m_iIPversion(0), //m_pSelfAddr(null), //m_pPeerAddr(null), //m_SocketID(0), //m_ListenSocket(0), //m_PeerID(0), //m_iISN(0), //m_pUDT(null), //m_pQueuedSockets(null), //m_pAcceptSockets(null), //m_AcceptCond(), //m_AcceptLock(), //m_uiBackLog(0) m_Status = UDTSTATUS.INIT; m_AcceptLock = new Mutex(); m_AcceptCond = new AutoResetEvent(false); }
public object m_ControlLock = new object(); // lock this socket exclusively for control APIs: bind/listen/connect public UdtSocketInternal() { m_Status = UDTSTATUS.INIT; m_iMuxID = -1; }