axl_bool valvula_connection_set_sock_block ( VALVULA_SOCKET  socket,
axl_bool  enable 
)

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

Parameters
socketThe socket to be configured.
enableaxl_true to enable blocking I/O, otherwise use axl_false to enable non blocking I/O.
Returns
axl_true if the operation was properly done, otherwise axl_false is returned.

Referenced by valvula_support_pipe().