|
Boost : |
From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2005-12-12 22:14:29
Christopher Kohlhoff <chris_at_[hidden]> writes:
> [snip]
>> Yes, simply include the MSG_NOSIGNAL flag in the call to send or
>> sendto.
> Unfortunately this flag doesn't seem to be available on Solaris, which
> does raise SIGPIPE too. It also doesn't work with writev.
I don't know about Solaris, but maybe SIGPIPE could be blocked only on
Solaris. Instead of using writev, you can use sendmsg on Linux.
-- Jeremy Maitin-Shepard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk