NET_NameToAddr

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

version 6.5


NET_NameToAddr (hostName; ip_Longint) Integer

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

Description

The NET_NameToAddr command takes a host name or IP address and returns a unique long integer reference to the address.

hostName is the host name or IP address.

ip_Longint is a Longint value representing the IP address specified in the hostName parameter. All IP address strings can be converted to a signed Longint value.

While the ip_Longint value does not typically have a significant use, some developers may find this command useful to convert IP addresses into a more compact Longint format for data-storage.

See Also

NET_AddrToName.


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