U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » SIGPIPE problem
Re: SIGPIPE problem [message #57143 is a reply to message #57142] Mon, 31 May 2021 13:11 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1276
Registered: August 2007
Senior Contributor
Hi,

On BSD-based systems there is a socket option called SO_NOSIGPIPE, instead:

FreeBSD >= 9.0: https://www.freebsd.org/cgi/man.cgi?query=getsockopt&sek tion=2&manpath=FreeBSD+9.0-RELEASE
MacOS X: https://developer.apple.com/library/archive/documentation/Sy stem/Conceptual/ManPages_iPhoneOS/man2/getsockopt.2.html


Note: Apparently neither MSG_NOSIGNAL nor SO_NOSIGPIPE is supported on Solaris (if we support that OS at all...).

Best regards,
Oblivion




[Updated on: Mon, 31 May 2021 13:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Small optimization
Next Topic: MSVS15x64: Compile Error C3256 C3259 C3250 in Fn.h findarg
Goto Forum:
  


Current Time: Sat Sep 05 14:15:34 GMT+2 2026

Total time taken to generate the page: 0.01143 seconds