const char * myqtt_conn_get_host_ip ( MyQttConn connection)

Allows to get the actual host ip this connection is connected to.

Parameters
connectionThe connection where the host ip value is being requested.

This function works like myqtt_conn_get_host_ip but returning the actual ip in the case a name was used.

Returns
A reference to the IP or NULL if it fails.

References myqtt_mutex_lock(), myqtt_mutex_unlock(), and myqtt_support_inet_ntoa().