Utilities

GetHostName

result := STD.System.Util.GetHostName ( ip );

ipA null-terminated string containing the IP address of the remote machine.
Return: GetHostName returns returns a VARSTRING (null-terminated) value.

The GetHostName function does a reverse DNS lookup to return the host name for the machine at the specified ip address.

Example:

IP   := '10.150.254.6';
   
OUTPUT(STD.System.Util.GetHostName(IP));