TIL: writing to a socket and dying

Andy Valencia dont at spam.me
Thu Apr 24 20:03:45 UTC 2025


On Thursday, 24 April 2025 at 19:36:03 UTC, kdevel wrote:
>> [...] I added a SIG_IGN of SIGPIPE and that made the problem 
>> stop.
>
> You know that it will now throw? [0]

Yes; my server was written to handle an exception, and it also is 
prepared for the send() to return failure.  Adding a third vector 
of error notification was not helpful.

Andy




More information about the Digitalmars-d-learn mailing list