[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

19203: Re: [MUD-Dev] Re: TECH: Distributed Muds

[Full Header] [Plain Text]
From: shren <shren@io.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 4 May 2001 22:01:04 -0500 (CDT)
References: [1]
Organization: Kanga.Nu
On Fri, 4 May 2001, Caliban Tiresias Darklock wrote:
> On Wed, 2 May 2001 20:12:03 -0400, "Jon Lambert"
> <tychomud@ix.netcom.com> wrote:
>> Caliban Tiresias Darklock wrote:
 
>>> 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.

>> No it's an array of unsigned ints.  
 
> Hmm, I was of the impression that the SOCKET datatype was actually a
> type of structure pointer... not that I've really delved into the
> internals. I shouldn't have to. :P

The whole reason that things like SOCKET are defined is for a)
readibility and b) so these things can change in the underlying
implementation without breaking old code.  I think you know that but I
thought I'd make it clear to anyone who might not.  If you know that
time_t is a long, *forget* that fact and declare it as time_t and not
long, or pay the karmic price.

--
"I've acquired quite a taste, for a well-made mistake."
  - Fiona Apple, _A_Mistake_
"That pretty much sums up how I feel about Microsoft Windows."
  - shren@io.com
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev