Suppress sigpipe in sender thread.

This commit is contained in:
lotodore
2007-10-30 16:59:47 +00:00
parent 9cf398d3e0
commit 7000722d75
4 changed files with 8 additions and 8 deletions
-2
View File
@@ -26,14 +26,12 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <csignal>
using namespace std;
bool
socket_startup()
{
signal(SIGPIPE, SIG_IGN);
return true;
}