home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4295 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  845 b 

  1. Xref: sparky comp.unix.programmer:4295 comp.unix.questions:10073
  2. Newsgroups: comp.unix.programmer,comp.unix.questions
  3. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!uproar.enet.dec.com!websterm
  4. From: websterm@uproar.enet.dec.com (Mike Webster)
  5. Subject: Re: Sockets: Non Blocking I/O, How do I know when its done?
  6. Message-ID: <1992Aug14.095810.21445@rdg.dec.com>
  7. Lines: 11
  8. Sender: news@rdg.dec.com (Mr News)
  9. Reply-To: Mike.Webster@ime.mts.dec.com
  10. Organization: Digital Equipment Corporation
  11. References:  <ejohnson.713655821@void>
  12. Date: Fri, 14 Aug 1992 09:58:10 GMT
  13.  
  14.  
  15.  
  16.  Eric,
  17.  
  18.  Check select() this will tell you when there is something on the
  19.  fd(s) you are interested in, call it with a timeout if needed.
  20.  
  21.  or an ioctl() FIONREAD call will tell you how many bytes there
  22.  are to read.
  23.  
  24.  Mike Webster London UK.
  25.