Function deno_net::resolve_addr::resolve_addr
source · [−]pub async fn resolve_addr(
hostname: &str,
port: u16
) -> Result<impl Iterator<Item = SocketAddr> + '_, AnyError>
Expand description
Resolve network address asynchronously.