Popular recipes tagged "blocking" but not "glib"http://code.activestate.com/recipes/tags/blocking-glib/2010-09-06T11:20:53-07:00ActiveState Code RecipesSetting a file descriptor to blocking or non-blocking mode (C)
2010-09-06T11:20:53-07:00Emilio Montihttp://code.activestate.com/recipes/users/4173642/http://code.activestate.com/recipes/577384-setting-a-file-descriptor-to-blocking-or-non-block/
<p style="color: grey">
C
recipe 577384
by <a href="/recipes/users/4173642/">Emilio Monti</a>
(<a href="/recipes/tags/blocking/">blocking</a>, <a href="/recipes/tags/file_descriptor/">file_descriptor</a>, <a href="/recipes/tags/non_blocking/">non_blocking</a>).
Revision 2.
</p>
<p>A simple function to set a file descriptor (i.e. a socket) to blocking or non-blocking mode.</p>