On Saturday 02 August 2008 04:25:03 Bradley Arsenault wrote:
> There is a bug in SDL_net. SDL_net does not respond to SIGPIPE, causing the
> program to halt. This happens occasionally when a client has disconnected
> just as the server was about to send it information. While the timing is
> fairly presice, it can and does happen, causing our YOG server to grind to
> a halt. Reading up on it yields no acceptable solutions besides altering
> SDL_net

signal(SIGPIPE, SIG_IGN);

Note: this function is deprecated, so you should use sigaction instead, the 
man page is fairly readable.

Have a nice day,

Steph

-- 
http://stephane.magnenat.net


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to