Gets the IP address of a hostname Traffic Server has looked up.
InkReturnCode INKHostLookupResultIPGet
(INKHostLookupResult
lookup_result
,
unsigned int *ip
)
INKHostLookupResult
is
the information returned by
lookup_result
INKHostLookupResult
.
unsigned int
*
is set to the
value of the IP address, in network byte order.ip
Converts the information retrieved by
INKHostLookupResult
to an unsigned int
representing the IP address.
INK_SUCCESS
if the API is called
successfully.
INK_ERROR
if an error occurs while calling
the API or if an argument is invalid.