home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4811 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  984 b 

  1. Path: sparky!uunet!sun-barr!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!csus.edu!ucdavis!toadflax!dilger
  2. From: dilger@toadflax.cs.ucdavis.edu (Mike Dilger)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Select and stdio
  5. Message-ID: <19235@ucdavis.ucdavis.edu>
  6. Date: 15 Nov 92 19:56:16 GMT
  7. Sender: usenet@ucdavis.ucdavis.edu
  8. Followup-To: dilger@toadflax.cs.ucdavis.edu
  9. Distribution: usa
  10. Organization: Department of Computer Science, University of California, Davis
  11. Lines: 12
  12.  
  13. Does anyone know if select still works on fd's when using the stdio
  14. library on the equivalent streams?  I assume that the stdio library
  15. reads the data and the select bit turns off for that fd.  If this
  16. is the case, is there any equivalent stdio routine like select?
  17.  
  18. The reason I ask is I am trying to read/write sockets with stdio routines
  19. instead of system calls (read/write), and I have several sockets that
  20. I need to monitor for activity (without polling).
  21.  
  22. Thanks.
  23.  
  24. Mike    (dilger@toadflax.cs.ucdavis.edu)
  25.