Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: logan@crystel.com (Mark) Newsgroups: comp.sys.sun Subject: Problem generating SIGIO on SLC Keywords: Miscellaneous Message-ID: <1290@brchh104.bnr.ca> Date: 15 Jan 91 21:14:14 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 10, Issue 23, message 6 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I am using a SPARCstation SLC running 4.1. I have written a program which opens a socket(), tries to configure it to send SIGIO when input is available, and then goes off on its way. However, it never receives SIGIO. There are three ways to configure a socket for SIGIO in SunOS 4.1 and I have tried them all: pid = getpid(); 1. fcntl(sock, F_SETOWN, pid); 2. ioctl(sock, FIOSETOWN, &pid); 3. ioctl(sock, SIOCSPGRP, &pid); I am running the csh, so the process ID == the process group ID. Has anyone ever done this successfully? Can anyone tell me "You idiot! You forgot to ..." Thanks in advance, Mark Logan uunet!lcc!turnkey!crystel!logan