From: Mark Wooding Date: Sat, 20 Oct 2012 12:51:57 +0000 (+0100) Subject: yaid.c: Common function for fixing connected sockets. X-Git-Tag: 1.0.0~15 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/yaid/commitdiff_plain/95df134c16f744e4ca2f65a0e4823c4a96b8f5b7?hp=95df134c16f744e4ca2f65a0e4823c4a96b8f5b7 yaid.c: Common function for fixing connected sockets. Previously I'd forgotten to drag `out-of-band' data inline, which will cause a select(2) spin, and to make the client connection be nonblocking. Put all of the relevant stuff in a utility function. ---