ipaddress
Description
The ipaddress() function returns the IP address of the machine that is specified by hostname. hostname should be a fully qualified machine name.
Not supported in Endpoint Privilege Management for Linux (EPM-L).
Syntax
result = ipaddress (hostname);
Arguments
hostname Required. A fully qualified host name.
Return Values
result contains the IP address of the specified machine. If the IP address cannot be determined, a blank string is returned (that is, length = 0).
result = ipaddress (hostname);
In this example, result contains the IP address of the machine specified in hostname.