Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socks

Asynchronous SOCKS proxy client for Tokio.

Usage

Add this to your Cargo.toml file:

[dependencies]
socks = { git = "https://github.com/tmiasko/socks" }

And use as follows:

extern crate socks;

...

let proxy = "socks5://user:pass@127.0.0.1:1080";
let dest = "example.com:80";

socks::connect(&proxy, dest, reactor.remote()).and_then(|conn| {
  ...
});

Complete code can be found in examples directory.

License

socks is distributed under the terms of MIT license and Apache License Version 2.0. See LICENSE-APACHE and LICENSE-MIT files for details.

About

Asynchronous SOCKS proxy client for Tokio

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages