Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ark0f/async-socks5
An async/.await SOCKS5 implementation
https://github.com/ark0f/async-socks5
async rust socks5
Last synced: 3 days ago
JSON representation
An async/.await SOCKS5 implementation
- Host: GitHub
- URL: https://github.com/ark0f/async-socks5
- Owner: ark0f
- License: apache-2.0
- Created: 2019-12-13T08:00:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T15:44:21.000Z (4 months ago)
- Last Synced: 2024-10-06T00:48:33.209Z (about 1 month ago)
- Topics: async, rust, socks5
- Language: Rust
- Homepage:
- Size: 90.8 KB
- Stars: 78
- Watchers: 2
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE.md
Awesome Lists containing this project
README
## Examples
Connect to `google.com:80` through `my-proxy-server.com:54321`:```rust
use tokio::net::TcpStream;
use tokio::io::BufStream;
use async_socks5::{connect, Result};#[tokio::main]
async fn main() -> Result<()> {
let stream = TcpStream::connect("my-proxy-server.com:54321").await?;
let mut stream = BufStream::new(stream);
connect(&mut stream, ("google.com", 80), None).await?;
}
```[More examples](https://docs.rs/async-socks5).
# [Changelog](https://github.com/ark0f/async-socks5/blob/master/CHANGELOG.md)
# License
async-socks5 under either of:* [Apache License 2.0](https://github.com/ark0f/async-socks5/blob/master/LICENSE-APACHE.md)
* [MIT](https://github.com/ark0f/async-socks5/blob/master/LICENSE-MIT.md)at your option.