void myqtt_conn_set_close_socket ( MyQttConn connection,
axl_bool  action 
)

Allows to configure what to do with the underlying socket connection when the MyQttConn is closed.

This function could be useful if it is needed to prevent from myqtt library to close the underlying socket.

Parameters
connectionThe connection to configure.
actionaxl_true if the given connection have to be close once a MyQtt Conn is closed. axl_false to avoid the socket to be closed.