home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10794 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!usc!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!sjlai
  3. From: sjlai@fcit-c1.fcit.monash.edu.au (SIMON LAI)
  4. Subject: SIGIO - when does it occur ?
  5. Message-ID: <sjlai.6@fcit-c1.fcit.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: FCIT, Monash University 
  8. Date: Mon, 7 Sep 1992 07:28:07 GMT
  9. Lines: 18
  10.  
  11.  
  12. There seems to have been some discussion in this group about signals and
  13. sockets, so hopefully those same people can help me.
  14.  
  15. I am writing an application that uses SIGIO to service a number of non-
  16. blocking sockets with incoming data.  Everything seems to work fine, though
  17. as the subject line says I need to know exactly when SIGIO occurs.
  18.  
  19. It doesn't seem to occur until a certain number of characters are in the
  20. socket waiting to be read (buffer full?).  Is this correct?  If yes, then 
  21. how many characters cause SIGIO to occur, and can I vary this number?
  22.  
  23. I've looked at sys/socket.h, and though some of the options seem related
  24. none seem to be exactly what I want.
  25.  
  26. Any help appreciated.
  27.  
  28. Simon
  29.