Friday, December 02, 2005

unhandled SIGNAL -s stop the application

#for sockets SIGPIPE is fired
# MSG_NOSIGNAL can be passed for sockets send cmd as param
# you can use setsig with SIG_IGN too:
signal(SIGPIPE, SIG_IGN);

No comments: