예제 #1
0
        public void Destroy()
        {
            CloseAllSocket();
            m_lisSocket.Clear();
            m_lisSocket = null;

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