TIL: writing to a socket and dying
Andy Valencia
dont at spam.me
Fri Apr 25 13:28:44 UTC 2025
On Thursday, 24 April 2025 at 19:36:03 UTC, kdevel wrote:
>> Phobos appears to try and inhibit this on some BSD systems,
> How does it do that?
Sorry, I forgot to answer this question. There's a setsockopt
SO_NOSIGPIPE which is used if available during initial socket
setup (in Phobos). Some comments I spotted made it sound like a
BSD innovation.
Andy
More information about the Digitalmars-d-learn
mailing list