Skip to content

Commit

Permalink
Changes based on PR[#1] remaining comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolbhatia05 committed Oct 2, 2023
1 parent 1172216 commit 87f1e83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 122 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ A work-in-progress SOCKS toolkit for Rust. SOCKS5 ([rfc1928](https://tools.ietf.
[Documentation](https://docs.rs/socksx/latest)

## Client Usage
Example client usage can be found in the examples folder at the root of the repository.
Example client usage can be found in ./socksx/examples/client.rs. To run the example, use the following command:
```bash
cargo run --example client -- --host 172.16.238.4 --port 1080 --dest_host 172.16.238.5 --dest_port 12345 --src_port 12346
```
Note: The ip addresses are just examples, you should use your own ip addresses. I created a docker network and assigned
ip addresses to the containers.

## Server Usage
### Building the binary
Expand Down
17 changes: 0 additions & 17 deletions examples/client/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions examples/client/README.md

This file was deleted.

97 changes: 0 additions & 97 deletions examples/client/client.rs

This file was deleted.

0 comments on commit 87f1e83

Please sign in to comment.