4D Internet Commands v16

NET_AddrToName

Home

 
4D Internet Commands v16
NET_AddrToName

NET_AddrToName 


 

NET_AddrToName ( ip_Longint ; hostName ; ip_Address ) -> Function result 
Parameter Type   Description
ip_Longint  Longint in Long Integer reference to the address
hostName  String in Host name
ip_Address  String in IP address
Function result  Integer in Error Code

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

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC Internet
Number: 88922

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)