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

> although reliability is nice ... UDP

Would you not use send() with MSG_DONTWAIT? You get the reliability of TCP and you get feedback if there is any potential blocking. (But I certainly am not a socket guru.)




Definitely, asserting non-blocking flags for the socket options is also a good idea.




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

Search: