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-close

http://stackoverflow.com/questions/108183/how-to-prevent-sigpipes-or-handle-them-properly

http://stackoverflow.com/questions/18935446/program-received-signal-sigpipe-broken-pipe

http://stackoverflow.com/questions/16039275/c-socket-recv-error-handling
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(100) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(100)  评论(0编辑  收藏  举报