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