fn
fn resolve(host: string) -> !*Vector<*IpAddr>
Resolve host to a list of IP addresses via the system resolver. Returns every A and AAAA record the resolver returns, in the order it returned them.
let r: !*Vector<*IpAddr> = resolve("example.com");
if r.ok {
for let i: int = 0; i < r.val.len(); i++ {
println!(r.val.get(i).to_string());
}
}