News for hackers. Stuff that matters.
Re:Lamest bug we ever encountered by Nick_C on Sunday December 11, 2011 @03:40AM (#3339643)
> 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.)

Re:Lamest bug we ever encountered by radarsat1 on Sunday December 11, 2011 @12:36PM (#3340481)
Definitely, asserting non-blocking flags for the socket options is also a good idea.