Function bitcoin_proxy::socks5

source ·
pub fn socks5(
    str_dest: &String,
    port: u16,
    auth: *const ProxyCredentials,
    sock: &Sock
) -> bool
Expand description

| Connect to a specified destination | service through an already connected | | SOCKS5 proxy. | | ———– | @note | | The specified SOCKS5 proxy socket must | already be connected to the | | SOCKS5 proxy. @see RFC1928: | SOCKS Protocol | | Version 5 | | ———– | @param strDest | | The destination fully-qualified domain | name. | ––––– | @param port | | The destination port. | ––––– | @param auth | | The credentials with which to authenticate | with the specified | | SOCKS5 proxy. | ––––– | @param socket | | The SOCKS5 proxy socket. | | ———– | @return | | Whether or not the operation succeeded. |