Looks host up (an address literal, or a name for the system's resolver, which
runs on a helper thread so only this fiber waits) and gives its first address, IPv4 preferred.
resolve :: (host: string, port: u16) -> (Address, Io_Error)
Looks host up (an address literal, or a name for the system's resolver, which
runs on a helper thread so only this fiber waits) and gives its first address, IPv4 preferred.
Parameters
- host: string
- port: u16