tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Detecting parent's termination
> 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.
Okay, that explains it.
> That is a bug.
Is it? I don't think I've ever seen the semantics of SOCK_SEQPACKET
nailed down precisely enough. If you think of it as "SOCK_STREAM iwth
preservation of record boundaries", then it makes sense; if you think
of it as "SOCK_DGRAM with sequencing and reliable delivery", less so.
Have I just missed some spec somewhere?
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index