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
(
in String host
,
in long ip_type = 3
)

Meta