Those are the commands to add and clear your file descriptor sets. FD_SET(socket, set) puts a socket recently connected through bind() and accept() into the input/output sets so the server polls it for incoming/ outgoing data. FD_CLEAR(set) clears the specified set, more or less "deleting the array" if you want to call it that. Franco Gasperino Cutting Edge Communications 509-444-INET awe@cet.com ---------- > From: David Eliott <ravemaniac@HOTMAIL.COM> > To: CIRCLE@post.queensu.ca > Subject: Re: [CODE] COMM.C: FD_SET/FD_ZERO? > Date: Sunday, August 31, 1997 5:47 AM > > > Where are these from? FD_SET/FD_ZERO? > > > They are not defined anywhere in the code files or header files... > > and my compiler help index doesn't contain them... > > > Could someone tell me where I could get help on these? My compiler > > is complaining that FD_SET is comparing unsigned and chars values, > > and I have about 3 million of them warnings so I want to somehow get > > rid of some of them... > ^^^^^ > > I meant values, not chars... sorry > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST