Andrew,
> > > Something like this?
> > > make MAX_CONNECTIONS=10 check
AFAICT, non-server Windows versions have a listen backlog of 5:
http://support.microsoft.com/support/kb/articles/Q127/1/44.asp
http://216.239.57.104/search?q=cache:Ll4KYYj_BB8J:www.microsoft.com/windows2000/docs/tcpip2000.doc+site:microsoft.com+listen+backlog+winsock&hl=en&ie=UTF-8
So, I would suggest using "5" as the magic number instead of "10".
Anyway, I really appreciate you contributing this patch.
Thanks,
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6