public TcpListenerQueue(TcpListenerCoroutine tcpListener, int maxConnections = 10)
 {
     m_TcpListener    = tcpListener;
     m_MaxConnections = maxConnections;
 }
Example #2
0
        public void CreatNewTcpQueue(int maxConnections = 10)
        {
            TcpListenerCoroutine tcpListener = new TcpListenerCoroutine(this);

            m_TcpQueue = new TcpListenerQueue(tcpListener, maxConnections);
        }