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]
# 1
Windows NT/2000 are permitted a limited number of connection by there licensing package.there are different license models available but the base limit is about 10 concurent connections.you should check you license
radix_zero at 2007-7-6 20:24:43 > top of Java-index,Other Topics,Java Game Development...
# 2
http://www.redhat.com http://www.mandrake.com http://www.debian.org/And so on. It may seem tricky at first, but you'll thank yourself in the long run.
Breakfast at 2007-7-6 20:24:43 > top of Java-index,Other Topics,Java Game Development...
# 3

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

mwiedmer at 2007-7-6 20:24:43 > top of Java-index,Other Topics,Java Game Development...
# 4
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?
juliante at 2007-7-6 20:24:43 > top of Java-index,Other Topics,Java Game Development...
# 5
http://www.microsoft.com/windows2000/server/howtobuy/pricing/default.asphere is the link to the license purchasing at microsoft. You do need to check through this as the Win2k/nt does limit the number of open network connection you can have
radix_zero at 2007-7-6 20:24:43 > top of Java-index,Other Topics,Java Game Development...