:GetHostName()


 

Class

     aprINet()

 

Syntax

     :GetHostName(cIPAddress) -> cHostName

 

Parameters

 

 

cIPAddress

String. IP Address in dot notation.

 

Return

Host name of the resource specified (cIPAddress).

If :GetHostName() fails, it returns an empty string.

If the method fails check :nErr and :cErr for more information.

 

Description

The :GetHostName() Method resolves the specified IP Address, returning the Host Name.

  

See Also

:GetHostAddress()