this probably has at least one mistake/bug/typo but will move our DoS

protection into the low level UDP lib
This commit is contained in:
DarthArgus
2016-09-26 06:27:53 +00:00
parent 41639d8156
commit e395177e8f
10 changed files with 50 additions and 37 deletions
@@ -142,6 +142,7 @@ LoginServer::LoginServer() :
NetworkSetupData setup;
setup.port = ConfigLoginServer::getClientServicePort();
setup.maxConnections = ConfigLoginServer::getMaxClients();
setup.maxConnectionsPerIP = ConfigLoginServer::getMaxConnectionsPerIP();
setup.keepAliveDelay = 45000;
setup.compress = ConfigLoginServer::getCompressClientNetworkTraffic();
setup.useTcp = false;