public static getByName(host as String) as InetAddress
Resolves one host name to an internet address.
| Parameter | Description |
|---|---|
host | Hostname or numeric IPv4/IPv6 address; empty means wildcard. |
The resolved numeric address and original hostname.
address = InetAddress.getByName("localhost")