The search functionality needs JavaScript enabled
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.
type
ip_type
String resolveHostname ( const(String) host, const(long) ip_type = 3L ) nothrow @nogc;