Some proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves.
Others, like SOCKS4, do not allow this. This function will return false if this is implementing such a protocol. When false is returned, the caller should resolve the destination hostname first, and then pass a ProxyAddress containing the stringified IP address to connect or connect_async.
this |
a Proxy |
true if hostname resolution is supported. |