public void Destroy() { CloseAllSocket(); m_lisSocket.Clear(); m_lisSocket = null; m_streamPool.Destroy(); m_streamPool = null; }
public XSocketMgr() { m_lisSocket = new List <XSocket>(); m_streamPool = new XObjectPool <XStream>(STREAM_POOL_SIZE); }