EventLoop.resolveHost

Blocks until the hostname is resolved, unless it's invalid.

class EventLoop
nothrow
resolveHost
(
in string host
,
ushort port = 0
,
isIPv6 ipv6 = isIPv6.no
,
isTCP tcp = isTCP.yes
,
isForced force = isForced.yes
)

Meta