isResolvableEx function
Determines if a given host string can resolve to an IP address.
Parameters
-
host
-
A string containing the HTTP host that is supplied to FindProxyForUrl.
Return value
TRUE if the host is resolvable to a IPv4 or IPv6 address; otherwise, FALSE.
Examples
isResolvableEx(host);
true if the hostname can be resolved to and IP address
isResolvableEx(host);
false if the hostname cannot be resolved to an IP address
See also