Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!wasatch!mailrus!cornell!dgeorge From: dgeorge@svax.cs.cornell.edu (David George) Newsgroups: comp.unix.questions Subject: SIGIO interrupts with stream sockets Message-ID: <28860@cornell.UUCP> Date: 12 Jun 89 22:15:53 GMT Sender: nobody@cornell.UUCP Reply-To: dwg@terra.graphics.cornell.edu (David George) Distribution: comp.unix.questions Organization: Cornell Univ. Program of Computer Graphics, Ithaca NY Lines: 13 I'm running HP-UX A.B3.00 B 9000/835 and communicating between processes using stream-type sockets. At a given process, I'd like to automatically generate a SIGIO interrupt each time thet messages arrive on a given socket. The HP man pages describe a method using ioctl with FIOSSAIOOWN and FIOSSAIOSTAT -- see termio(7) for details -- but that method doesn't seem to work on sockets. A 4.3BSD Berkeley Tutorial describes a similar method using fcntl with F_SETOWN and F_SETFL, but F_SETOWN isn't defined anywhere in my /usr/include directory. Does anyone know the correct way to do this under HP-UX? Thanks for your help. Dave George