Suppress sigpipe in sender thread.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user