home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16887 < prev    next >
Encoding:
Text File  |  1992-11-20  |  717 b   |  19 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!bcm!aio!peri!reza
  3. From: reza@peri.jsc.nasa.gov (Reza Razavipour)
  4. Subject: ioctl and non block reads
  5. Message-ID: <1992Nov20.155732.824@aio.jsc.nasa.gov>
  6. Sender: reza@peri (Reza Razavipour)
  7. Organization: Lockheed
  8. Date: Fri, 20 Nov 1992 15:57:32 GMT
  9. Lines: 8
  10.  
  11. I am totally new to sockets and need to figure out a
  12. way to see if there is a message to be read before I 
  13. go read it. I need to  go on if no message is available.
  14. I use ioctl but cannot get it to work. I never get a message.
  15. Can some kind person e-mail me some words of wisdom on how to
  16. read a socket without having to wait?
  17. Thanx,
  18. Reza.
  19.