Retrieves the remote host’s IP address.
INKReturnCode INKNetVConnRemoteIPGet (INKVConn
vc
, unsigned int
*ip
)
INKVConn
is the
connection between Traffic Server and the other end of the
connection (can be a remote client or server).vc
unsigned int
*
is set to the
remote IP address, in network byte order.ip
Obtains the remote IP address in network byte order.
INK_SUCCESS
if the API is called
successfully.
INK_ERROR
if an error occurs while calling
the API or if an argument is invalid.