linux socket c : send data when socket close—SIGPIPE, Broken pipe
send(sock,message,strlen(message),MSG_NOSIGNAL)http://stackoverflow.com/questions/34128572/linux-socket-c-send-data-when-other-socket-closehttp://stackoverflow.com/questions/108183/how-to-prevent-sigp