[Spread-users] [BUG][PATCH] fd to session troubles

Jonathan Stanton jonathan at cnds.jhu.edu
Mon Feb 4 01:08:40 EST 2002


On Mon, Feb 04, 2002 at 01:02:47AM -0500, Tim Peters wrote:
> [Tim]
> > ...
> > 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

Thanks for the info and checking it out. I appreciate it. 

I've added the 1024 #define into the CVS tree for the 3.16.2 release. It
seems hard to imagine some of the people needing production windows boxes
only needing 64 sockets at once... 

Hopefully with this set of changes Spread will be more useful on Windows.

Jonathan

-- 
-------------------------------------------------------
Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    
-------------------------------------------------------





More information about the Spread-users mailing list