GetSystemHostName (open)
Get the system's host name
Syntax
LOADLIB "wh::internet/tcpip.whlib";
STRING FUNCTION GetSystemHostName(BOOLEAN completehostname)
Parameters
BOOLEAN completehostname
Try to get a full hostname from the DNS if the configured hostname does not contain dots (can cause DNS lookup delays)
Return value
STRING
Hostname of the system