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