lwres_net_ntop — lightweight resolver IP address presentation
|const void *src,|
converts an IP address of protocol family
af — IPv4 or IPv6 — at
src from network format to its
conventional representation as a string. For IPv4 addresses,
that string would be a dotted-decimal. An IPv6 address would be
represented in colon notation as described in RFC1884.
The generated string is copied to
size indicates it is long enough to
ASCII representation of the address.
If successful, the function returns
a pointer to a string containing the presentation format of the
NULL and sets the global variable
errno to EAFNOSUPPORT if
the protocol family given in