char * myqtt_support_inet_ntoa ( MyQttCtx ctx,
struct sockaddr_in *  sin 
)

Thread safe implementation for inet_ntoa.

Parameters
ctxThe myqtt context where the operation will be performed.
sinSocket information where to get inet_ntoa result.
Returns
A newly allocated string that must be deallocated with axl_free that contains the host information. The function return NULL if it fails.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().

Referenced by myqtt_conn_get_host_ip().