tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Detecting parent's termination



Roland C. Dowdeswell <elric%imrryr.org@localhost> wrote:

> > Unfortunately I do not get any signal. I understand that is wrong, and I
> > suspect it may be a SOCK_SEQPACKET bug.
> 
> You should only receive a SIGPIPE when you try to write to the
> socket.

I just made a test case, writing to a closed SOCK_STREAM socket yields a
SIGPIPE, while the same test with SOCK_SEQPACKET does not. That is a
bug.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index