Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.03.2007, 09:05   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Share] How to connect more then 5000 players

When a client can't generate more than 5,000 (~ 2,000) connections to the server, check the registry. The checking step includes:
  1. Run regedit
  2. Open 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\Tcpip\Parameters'
  3. 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.
Digital is offline  
Old 14.03.2007, 19:36   #2
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

thx for the guide....
Fot@r@s is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:53.