Unix Domain socket problem on SunOS 4.03 and 4.1
P Sember SNR
psember at shiva.trl.oz
Tue Oct 9 20:08:12 AEST 1990
I would greatly appreciate some assistance with UNIX domain
sockets under SunOS 4.03 and 4.1.
Basically I set up an interrupt handler bound to SIGIO. When
there is data on the socket the handler is activated. I set
all this up as follows:
.
.
.
new_vec.sv_handler = handler;
sigvec(SIGIO,&new_vec,&old_vec);
fcntl(socket, F_SETOWN, getpid());
fcntl(socket, F_SETFL, FASYNC);
Everything works ok if I set up a handler only at one end of the
socket. However, if the same set up is performed on both ends,
under 4.03 I can't catch any SIGIOs, but under SunOS 4.1 one
end can catch all SIGIOs, but the other can catch only one and
then everything stops!
Is this a known bug?
Could you please post replies to my email address.
--------------
Peter Sember Internet: psember at shiva.trl.oz.au
More information about the Comp.unix.questions
mailing list