Net::ResolveAddress
- Net::ResolveAddress(address): String
-
Resolve IP address to host name
Table 1. Parameters address
String
IP address to resolve host name
ReturnHost name, or
nullif the address is invalid or cannot be resolved.println(Net::ResolveAddress("127.0.0.1")); //Will print "localhost"