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