- host
- the hostname or literal IP string to be resolved.
Documentation for this section has not yet been entered.
Type Reason Java.Net.UnknownHostException if the address lookup fails.
Gets all IP addresses associated with the given host identified by name or literal IP address. The IP address is resolved by the configured name service. If the host name is empty or null an UnknownHostException is thrown. If the host name is a literal IP address string an array with the corresponding single InetAddress is returned.