[Home] [Groups] - Message: [Prev in Group] [Next in Group]
19120: Re: [MUD-Dev] Re: TECH: Distributed Muds
[Full Header] [Plain Text]
From: Caliban Tiresias Darklock <caliban@darklock.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 01 May 2001 10:24:36 -0700
References: [1] [2] <-newest
Organization: Kanga.Nu
On Sun, 29 Apr 2001 13:47:06 -0400, "Derek Snider" <derek@idirect.com>
wrote:
> The fd_sets are bitstrings. With 1024 file descriptors (for
> example) that is 128 bytes per set. To clear 384 bytes, and to
> check the bits on 384 bytes is hardly CPU intensive.
True, but not under Windows. The Winsock concern is that an FD_SET is
actually an array of structures, which is a GREAT deal larger than a
bit vector. An excellent example of where Winsock programming has a
concern that just plain isn't a problem under UNIX. UNIX also doesn't
generally assume you will never have more than 64 sockets in an
FD_SET. ;)
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev