Multiplayer servers, sockets and NT
Hi!
I'm not writing any game, but this question should pertain to game coders.
I've written a multiuser server, which accepts incoming TCP connections. The problem is that on a windows NT 4.0 machine I can not make it accept any more than about 250 connections. Under Mac OS X this can simply be fixed with "limit descriptors unlimited" which increases the number of permitted sockets and allows me to have 10240 connections, which should be enough for any occasion.
Does anyone know how to do a similar thing under Windows NT?
Thanks...
[570 byte] By [
juliante] at [2007-9-27 18:52:43]

Why do you need each player on a separate socket? Usually, two sockets should be enough if you decide to also put some (player) identification into the transproted message. (One for outgoing mulitcasts, one for incoming player action updates.)
If you fear that would slow you down too much, then check first how many players you can handle on one socket, then allocate a new socket each time you reach a multiple of that number.
Micks
Thanks, but I磎 using TCP. And no, I磎 stuck with TCP. So I actually need to increase the maximum number of open sockets. Anyone knows how to do that?