forked from rosebudai/OpenRCT2-Web
`send()` can only write to connected sockets [1]. In case where client drops out, a socket may become closed by OS but we can still enqueue packets for its connection and eventually call `send()`, which will generate a SIGPIPE and shut the server down, because there was no `MSG_NOSIGNAL` set. This commit makes sure `MSG_NOSIGNAL` is used on Linux. [1] http://linux.die.net/man/2/send