protected AbstractSocketAcceptor(Int32 maxConnections)
     : base(new DefaultSocketSessionConfig())
 {
     _maxConnections = maxConnections;
     _processor = new AsyncSocketProcessor(() => ManagedSessions.Values);
     this.SessionDestroyed += OnSessionDestroyed;
     _startAccept = StartAccept0;
     ReuseBuffer = true;
 }
 protected AbstractSocketConnector(IoSessionConfig sessionConfig)
     : base(sessionConfig)
 {
     _processor = new AsyncSocketProcessor(() => ManagedSessions.Values);
 }