Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!think.com!linus!linus!mbunix.mitre.org!costello From: costello@mbunix.mitre.org (Costello) Newsgroups: comp.unix.questions Subject: Need help generating SIGIO on a unix socket Keywords: SIGIO, socket Message-ID: <1991Jan17.132309.25839@linus.mitre.org> Date: 17 Jan 91 13:23:09 GMT Sender: news@linus.mitre.org (Linus's News) Distribution: usa Organization: The MITRE Corp., Bedford MA Lines: 12 Originator: costello@mbunix.mitre.org Nntp-Posting-Host: mbunix.mitre.org Hello, I am trying to set up a unix socket such that a SIGIO signal is automatically generated when data arrives on the socket. I have tried the following: s = socket(AF_UNIX, SOCK_STREAM, 0); fcntl(s, F_SETOWN, getpid()); This, however, does not seem to work, i.e. the signal handler that I have set up does not catch the SIGIO signal. (I know that the signal handler is working properly and I know that I am getting data on the socket.) I am doing this on an Apple IIx running A/UX 1.1. Any ideas? Please e-mail to me: costello@mitre.org Thanks! /Roger