Exemplo n.º 1
0
 public Server(int initNumConnections, int saeaBuffSize, int NAcceptArgs)
 {
     this.NAcceptArgs = NAcceptArgs;
     bufferMan = new BufferManager(saeaBuffSize, saeaBuffSize * initNumConnections * 1); //Only alloc Reads
     m_readPool = new SocketAsyncEventArgsPool(this);
     m_writePool = new SocketAsyncEventArgsPool(this);
     this.Init(initNumConnections);
 }