home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,918 of 14,669   
   Dan Lanciani to Rick Jones   
   Re: maximum allowable buffer size for se   
   03 Jun 09 21:04:48   
   
   From: ddl@danlan.*com   
      
   In article , rick.jones2@hp.com (Rick Jones)   
   writes:   
   | Dan Lanciani  wrote:   
   | > In article , rick.jones2@hp.com (Rick   
   Jones) writes:   
   | > | > > Yes.  getsockopt(...SO_ERROR...) is not going to do what you want.   
   | > |   
   | > | > so why is it there?   
   | > | > What type of Information does it yield?   
   | > |   
   | > | If I were to guess, it might relate, at least in part, to the "errfds"   
   | > | parm of select().   
   |   
   | > But select() doesn't have an errfds parameter. :)   
   |   
   | Well, the HP-UX 11 manpage calls it errorfds :)   
   |   
   |       int select(int nfds, fd_set *__restrict readfds,   
   |            fd_set *__restrict writefds, fd_set *__restrict errorfds   
   |            struct timeval *__restrict timeout);   
      
   Yes, the confusion between exceptional and error is so common that it   
   has crept into documentation.  (It's a little like st_ctime's being   
   confused with creation time.)  It would be funny if HP changed the   
   code to conform to the manual...   
      
   				Dan Lanciani   
   				ddl@danlan.*com   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca