Connect to a specified destination service through an already connected SOCKS5 proxy.
Declared in <netbase.h>
bool
Socks5(
std::string const& strDest,
uint16_t port,
ProxyCredentials const* auth,
Sock const& socket);
The specified SOCKS5 proxy socket must already be connected to the SOCKS5 proxy.
Whether or not the operation succeeded.
| Name | Description |
|---|---|
| strDest | The destination fully-qualified domain name. |
| port | The destination port. |
| auth | The credentials with which to authenticate with the specified SOCKS5 proxy. |
| socket | The SOCKS5 proxy socket. |