Function std::old_io::net::addrinfo::get_host_addressesUnstable [-] [+] [src]

pub fn get_host_addresses(host: &str) -> IoResult<Vec<IpAddr>>

Easy name resolution. Given a hostname, returns the list of IP addresses for that hostname.