Use MSG_NOSIGNAL in send()/sendto()/sendmsg()
This avoids SIGPIPE firing when writing to a remote-closed connection- oriented socket (it is useless for datagram sockets or on Windows though). SIGPIPE is blocked ins VLC, but not necessarily in LibVLC. The problem remains for write() on broken pipe and sockets.
Showing with 10 additions and 5 deletions