Hacker News new | past | comments | ask | show | jobs | submit login

With pipes, the sender has to add a SIGPIPE handler which is not trivial to do if it's a library doing the send/recv. With sockets it can use send(fd, buf, MSG_NOSIGNAL) instead.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: