MYQTT_SOCKET myqtt_conn_get_socket ( MyQttConn connection)

Returns the socket used by this MyQttConn object.

Parameters
connectionthe connection to get the socket.
Returns
the socket used or -1 if fail

Referenced by myqttd_conn_mgr_setup_proxy_on_parent().