[Spread-users] [BUG][PATCH] fd to session troubles
tim at zope.com
Mon Feb 4 01:02:47 EST 2002
> So long as you're sticking to Winsock version 1, the provider is
> supposed to set the maximum # of sockets it can actually handle in the
> iMaxSockets field of the WSAData struct passed to WSAStartup().
FYI, on a Win98SE box, asking WSAStartup() for version 1.1, and linked with
version 4.10.1998 of MS's wsock32.dll (nothing special there, it's just what
happened to be sitting on this vanilla but up-to-date box), the iMaxSockets
field got set to 32767. Any FD_SETSIZE value thru that "makes sense".
Whether Win98 can actually deal with that many of anything is a question the
Winsock spec wisely refuses to address <wink>.
1024-should-work-fine-ly y'rs - tim
More information about the Spread-users