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
@@ -34,6 +34,7 @@
#define SOCKET_ERR_WOULDBLOCK WSAEWOULDBLOCK
#define SOCKET_ERR_NOTCONN WSAENOTCONN
#define SOCKET_ERR_NOTSOCK WSAENOTSOCK
#define SOCKET_SEND_FLAGS 0
#ifndef IPV6_V6ONLY
#define IPV6_V6ONLY 27
@@ -62,6 +63,7 @@ typedef unsigned char u_char;
#define SOCKET_ERR_WOULDBLOCK EINPROGRESS
#define SOCKET_ERR_NOTCONN ENOTCONN
#define SOCKET_ERR_NOTSOCK ENOTSOCK
#define SOCKET_SEND_FLAGS MSG_NOSIGNAL
#endif