🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6547

Problem generating SIGIO on SLC

#6547
From: Mark
Date: Tue, 15 Jan 1991 21:14
18 lines
1176 bytes
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
Technical Details
Message-ID: <1290@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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