const char * valvula_connection_get_host_ip ( ValvulaConnection connection)

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

This function works like valvula_connection_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 valvula_mutex_lock(), valvula_mutex_unlock(), and valvula_support_inet_ntoa().