Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolbhatia05 committed Sep 30, 2023
2 parents eb88596 + df2b95c commit 1172216
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion socksx/examples/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ async fn main() -> Result<()> {
}
}

/// Connects to a destination using SOCKS5 protocol.
/// Connects to a destination through a proxy using SOCKS5 protocol, then sends an example message through the network tunnel.
///
/// # Arguments
/// - `proxy_addr`: The address of the SOCKS5 proxy through which the traffic will be tunnelled.
/// - `dest_addr`: The address to which the traffic should be sent after the proxy.
///
/// # Errors
/// This function can error if we failed to connect to the given proxy or failed to send it an example message.
async fn connect_v5(
proxy_addr: String,
dest_addr: String,
Expand Down

0 comments on commit 1172216

Please sign in to comment.