Function tokio_dns::tcp_bind [] [src]

pub fn tcp_bind<'a, T>(ep: T, remote: Remote) -> IoFuture<TcpListener> where T: ToEndpoint<'a>

Bind to the endpoint using the default resolver.