Hello.
Bauce wrote:
> My question was actually: Is there a limit for the number of incoming
> connections that can be accepted on a socket (number of clients on a
> server)?
Well, the maximum number of connections that can be accepted is limited to
the number of sockets that can be created, less one, since you need one
socket to do accept() on. Hence, if you use Winsock 2, the limit is 30,
because of limitations in SOCK.VXD. For Winsock 1.x the limits is higher
(a few hundred?). So, you are limited to around 30. This limit is per DOS
box, so you could get more connections if you run multiple server
programs.
> Have a nice day.
Thanks, you too!
Hope that helps, bye, Rich =]
--
Richard Dawe
[ mailto:richdawe@... | http://www.bigfoot.com/~richdawe/ ]