Enum socks::TargetAddr
[−]
[src]
pub enum TargetAddr {
Ip(SocketAddr),
Domain(String, u16),
}A description of a connection target.
Variants
Ip | Connect to an IP address. |
Domain | Connect to a fully qualified domain name. The domain name will be passed along to the proxy server and DNS lookup will happen there. |