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)   
|