Net::GetLocalHostName
- Net::GetLocalHostName(fullyQualified=null): String
-
Get local host name. If optional argument is true, fully qualified name will be returned.
Table 1. Parameters fullyQualified
Boolean
Optional. True if fully qualified name should be returned.
ReturnHost name
println(Net::ResolveAddress("127.0.0.1")); //Will print "localhost"