PDA

View Full Version : [Share] How to connect more then 5000 players


Digital
14.03.2007, 09:05
When a client can't generate more than 5,000 (~ 2,000) connections to the server, check the registry. The checking step includes:

Run regedit
Open 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\Tcpip\Parameters'
Add 'MaxUserPort' as DWORD value and set the value (maximum value is 65534 in decimal number).If you need to increase the thread number of your test client to more than 2,0xx, revise the function stack size of the client application using compile option '/STACK:BYTE' or a parameter of CreateThread. Before you run the test server and test client, set TEST_IP and TEST_SERVER_IP with the IP address of your server. To see the connection number, use performance monitor or 'netstat -s' in command prompt.

Fot@r@s
14.03.2007, 19:36
thx for the guide.... :)