:GetHostAddress()
Class
Syntax
:GetHostAddress(cHost) -> cIPAddress
Parameters
|
|
cHost |
Fully qualified domain name. |
Return
IP Address of the resource specified (cHost) in dot-notation.
If :GetHostAddress() fails, it returns an empty string.
If the method fails check :nErr and :cErr for more information.
Description
The :GetHostAddress() Method resolves the specified host name, returning the IP address.
The IP address format is in common dot notation, with each byte of the address separated by a period.
See Also