how to set process group on socket

Steve Emmerson steve at unidata.ucar.edu
Tue Mar 12 10:19:27 AEST 1991


Submitted-by: steve at unidata.ucar.edu (Steve Emmerson)

Greetings,

How would one do the equivalent of the following, BSD-ism:

	ioctl(fd, SIOCSPGRP, &pid);

That is, in a POSIX environment, how does one set the process-group ID
of processes that will receive SIGIO and SIGURG signals associated with
a particular file-descriptor (which, incidentally, is a socket) to the PID
of the current process.

Can one use the tc*() function?

Steve Emmerson        steve at unidata.ucar.edu        ...!ncar!unidata!steve


Volume-Number: Volume 23, Number 7



More information about the Comp.std.unix mailing list