@[inline]
def
Std.Internal.IO.Async.DNS.getAddrInfo
(host service : String)
(addrFamily : Option Net.AddressFamily := none)
:
Asynchronously resolves a hostname and service to an array of socket addresses.
Equations
- Std.Internal.IO.Async.DNS.getAddrInfo host service = Std.Internal.IO.Async.Async.ofPromise (Std.Internal.UV.DNS.getAddrInfo host service 0)
- Std.Internal.IO.Async.DNS.getAddrInfo host service (some Std.Net.AddressFamily.ipv4) = Std.Internal.IO.Async.Async.ofPromise (Std.Internal.UV.DNS.getAddrInfo host service 1)
- Std.Internal.IO.Async.DNS.getAddrInfo host service (some Std.Net.AddressFamily.ipv6) = Std.Internal.IO.Async.Async.ofPromise (Std.Internal.UV.DNS.getAddrInfo host service 2)
Instances For
@[inline]
Performs a reverse DNS lookup on a SocketAddress.
Equations
- One or more equations did not get rendered due to their size.