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