home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / tcpip / 5093 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  872 b 

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!dank
  2. From: dank@cco.caltech.edu (Daniel R. Kegel)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: SOLVED: Should connect() block after setting NDELAY?
  5. Date: 9 Nov 1992 03:34:07 GMT
  6. Organization: California Institute of Technology, Pasadena
  7. Lines: 10
  8. Message-ID: <1dkm7fINN4id@gap.caltech.edu>
  9. References: <dank.720994781@blacks> <1992Nov8.200731.6246@colorado.edu>
  10. NNTP-Posting-Host: punisher.caltech.edu
  11.  
  12. panos@burton.cs.colorado.edu (Panos Tsirigotis) writes:
  13. >>    flags = fcntl(qp->fds, F_GETFL, 0);
  14. >>    flags |= FNDELAY;
  15. >>    fcntl(qp->fds, F_SETFL, &flags);
  16. >                           ^^^^^^
  17. >This is wrong; all arguments of fcntl are 'int's. 
  18.  
  19. The prize goes to Panos- he solved the problem where the local Sun
  20. rep couldn't.  Thanks much; may all your connects be speedy...
  21. - Dan Kegel (dank@blacks.jpl.nasa.gov)
  22.