View Single Post
Old 01-09-2009, 05:21 AM   #2
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
Re: Weird crash bug at low level writing to descriptor

Sometimes write() can send SIGPIPE. Best to ignore it as it's mostly useless. You may find examples elsewhere in the ROM code for ignoring signals, otherwise look on Google. Do that for SIGPIPE. It seems a bit strange that I've never seen this occur in any networking code I've written though.
Kylotan is offline   Reply With Quote