NET_AddrToName

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.5


NET_AddrToName (ip_Longint; hostName; ip_Address) Integer

ParameterTypeDescription
ip_LongintLongintLong Integer reference to the address
hostNameStringHost name
ip_AddressStringIP address
Function resultIntegerError Code

Description

The NET_AddrToName command takes a long integer reference to a host name, and returns both the host name and the IP address of that host.

ip_Longint is the long integer reference to an IP address.

hostName is the string returned which contains the host name. If the host name is not able to be resolved, ip_Address will return a null string and no error will be returned.

ip_Address is the string returned which contains the IP address.

See Also

NET_NameToAddr.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next