home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4295 comp.unix.questions:10073
- Newsgroups: comp.unix.programmer,comp.unix.questions
- Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!uproar.enet.dec.com!websterm
- From: websterm@uproar.enet.dec.com (Mike Webster)
- Subject: Re: Sockets: Non Blocking I/O, How do I know when its done?
- Message-ID: <1992Aug14.095810.21445@rdg.dec.com>
- Lines: 11
- Sender: news@rdg.dec.com (Mr News)
- Reply-To: Mike.Webster@ime.mts.dec.com
- Organization: Digital Equipment Corporation
- References: <ejohnson.713655821@void>
- Date: Fri, 14 Aug 1992 09:58:10 GMT
-
-
-
- Eric,
-
- Check select() this will tell you when there is something on the
- fd(s) you are interested in, call it with a timeout if needed.
-
- or an ioctl() FIONREAD call will tell you how many bytes there
- are to read.
-
- Mike Webster London UK.
-