public ConnectionHandling(int port, int maxConnections, int connectionsPerIp, bool enabeNagles)
 {
     _manager = new SocketManager();
     _manager.Init(port, maxConnections, connectionsPerIp, new InitialPacketParser(), !enabeNagles);
     _manager.OnConnectionEvent += OnConnectionEvent;
     _manager.InitializeConnectionRequests();
 }
Example #2
0
 internal void Init()
 {
     _manager.connectionEvent += manager_connectionEvent;
     _manager.InitializeConnectionRequests();
 }
 public void Init()
 {
     _manager.OnConnectionEvent += OnConnectionEvent;
     _manager.InitializeConnectionRequests();
 }