Jump to content

Recommended Posts

  • 41 years later...
Posted

Hello everyone. When I start my server it says "Max allowed socket connections 1024". Is there anyway to make the allowed socket connections value bigger than 1024? I can't find anything useful on Google ... Thanks in advance.

EDIT: Using Windows7 as OS.

Posted

On windows the 'limit' is FD_SETSIZE - this is how many sockets you can pass to select. You can make simultaneous select calls in multiple threads, and spread the sockets out - this effectively increases your limit even if the console doesn't reflect that at startup.

I guess you can change FD_SETSIZE in ACE srcs - by default ACE set it to 4096. Select performs poorly though, better to switch to *nix or async sockets ;)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use