MSG_NOSIGNAL is a flags used by some implementations of the Berkley sockets API.
This flag requests that the implementation does not to send a SIGPIPE signal on errors on stream oriented sockets when the other end breaks the connection. The EPIPE error is still returned as normal.
4 pages link to MSG_NOSIGNAL: