Asynchronous name resolution utilities for the futures
and tokio-core
crates. Look at the crate-level documentation for more details.
The package's name is tokio-dns-unofficial
, but the crate's name is tokio-dns
.
```rust // Taken from examples/basic.rs
// connect using the built-in resolver. let conn = tcpconnect("rust-lang.org:80", &lp.handle()).andthen(|sock| { println!("conncted to {}", sock.peer_addr().unwrap()); Ok(()) }); ```