IPSingleton.resolveHostname

Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the TYPE_* constant given as "ip_type".

struct IPSingleton
@nogc nothrow
String
resolveHostname
(
StringArg0
)
(
in StringArg0 host
,
in long ip_type = 3
)

Meta