[#Socks5] = Socks5 :mrdocs: Connect to a specified destination service through an already connected SOCKS5 proxy. == Synopsis Declared in `<netbase.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool Socks5( std::string const& strDest, uint16_t port, xref:ProxyCredentials.adoc[ProxyCredentials] const* auth, xref:Sock.adoc[Sock] const& socket); ---- == Description [NOTE] ==== The specified SOCKS5 proxy socket must already be connected to the SOCKS5 proxy. ==== == Return Value Whether or not the operation succeeded. == Parameters [cols="1,4"] |=== | 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. |=== == See Also https://www.ietf.org/rfc/rfc1928.txt[RFC1928: SOCKS Protocol Version 5] [.small]#Created with https://www.mrdocs.com[MrDocs]#