[MUD-Dev] Re: TECH: Distributed Muds
Matthew D. Fuller
fullermd at over-yonder.net
Thu May 3 20:53:29 CEST 2001
On Wed, May 02, 2001 at 08:12:03PM -0400 I heard the voice of
Jon Lambert, and lo! it spake thus:
> Caliban Tiresias Darklock wrote:
>> generally assume you will never have more than 64 sockets in an
>> FD_SET. ;)
> What do BSD and Linux assume to be the FDSETSIZE to be? Both
> require you to #define FDSETSIZE should you want something else.
/usr/include/sys/types.h:#define FD_SETSIZE 1024
(FreeBSD 5.0-CURRENT)
On a 386BSD 0.1 system (don't *EVEN* ask), I see:
#define FD_SETSIZE 256
in <sys/types.h>
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Unix Systems Administrator | fullermd at futuresouth.com
Specializing in FreeBSD | http://www.over-yonder.net/
"Klein bottle for sale ... inquire within."
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list