Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1093
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: Thu May 09 14:46:22 CEST 2024

Total time taken to generate the page: 0.02842 seconds