int myqtt_conn_get_id ( MyQttConn connection)

Returns the connection unique identifier.

The connection identifier is a unique integer assigned to all connection created under MyQtt Library. This allows MyQtt programmer to use this identifier for its own application purposes

Parameters
connectionThe connection to get the the unique integer identifier from.
Returns
the unique identifier.

Referenced by myqtt_listener_accept_connection(), myqtt_listener_shutdown(), myqtt_tls_verify_cert(), and myqttd_conn_mgr_setup_proxy_on_parent().