This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Net::ResolveAddress

Net::ResolveAddress(address): String

Resolve IP address to host name

Table 1. Parameters

address

String

IP address to resolve host name

Return

Host name, or null if the address is invalid or cannot be resolved.

println(Net::ResolveAddress("127.0.0.1")); //Will print "localhost"