Esempio n. 1
0
        public void Destroy()
        {
            CloseAllSocket();
            m_lisSocket.Clear();
            m_lisSocket = null;

            m_streamPool.Destroy();
            m_streamPool = null;
        }
Esempio n. 2
0
 public XSocketMgr()
 {
     m_lisSocket  = new List <XSocket>();
     m_streamPool = new XObjectPool <XStream>(STREAM_POOL_SIZE);
 }