char * vortex_support_inet_ntoa ( VortexCtx ctx,
struct sockaddr_in *  sin 
)

Thread safe implementation for inet_ntoa.

Parameters
ctxThe vortex 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 vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_connection_get_host_ip().