axl_bool myqtt_conn_set_sock_block ( MYQTT_SOCKET  socket,
axl_bool  enable 

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

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

Referenced by myqtt_conn_sock_connect_common(), and myqtt_support_pipe().