%SS2_INET_NTOP
Convert IPv4 or IPv6 address from numeric to text
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
status = %SS2_INET_NTOP(in_addr, charstring)
Return value
status
Returns SS_SUCCESS (0). (n)
Arguments
in_addr
An IP address in a byte array of length 4 or 16. When the length is 4, family is set to AF_INET (IPv4); when the length is 16, family is set to AF_INET6 (IPv6). ([#]byte)
charstring
Returned with IP address in text form. (a)
Discussion
%SS2_INET_NTOP converts an IP address in either IPv4 or IPv6 numeric form into a string containing the IP address.