Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public ConnectionHandling(int port, int maxConnections, int connectionsPerIP, bool enabeNagles)
 {
     manager = new SocketManager();
     manager.Init(port, maxConnections, connectionsPerIP, new InitialPacketParser(), !enabeNagles);
 }
Exemplo n.º 3
0
 internal ConnectionHandling(int port, int connectionsPerIp, bool enabeNagles)
 {
     _manager = new SocketManager();
     _manager.Init(port, connectionsPerIp, new InitialPacketParser(), !enabeNagles);
 }