nopoll_bool nopoll_conn_set_sock_block ( NOPOLL_SOCKET  socket,
nopoll_bool  enable 

Allows to enable/disable non-blocking/blocking behavior on the provided socket.

socketThe socket to be configured.
enablenopoll_true to enable blocking I/O, otherwise use nopoll_false to enable non blocking I/O.
nopoll_true if the operation was properly done, otherwise nopoll_false is returned.

References nopoll_false, and nopoll_true.

Referenced by __nopoll_conn_accept_complete_common(), and nopoll_conn_get_msg().