Async SOCKS proxy connector client and server implementation, tunnel any TCP/IP-based protocol through a SOCKS5 or SOCKS4(a) proxy server, built on top of ReactPHP.
MIT License
BC break / Feature: Simplify constructors by making parameters optional.
(#10)
The Factory
has been removed, you can now create instances of the Client
and Server
yourself:
// old
$factory = new Factory($loop, $dns);
$client = $factory->createClient('localhost', 9050);
$server = $factory->createSever($socket);
// new
$client = new Client($loop, 'localhost', 9050);
$server = new Server($loop, $socket);
BC break: Remove HTTP support and link to clue/buzz-react instead.
(#9)
HTTP operates on a different layer than this low-level SOCKS library.
Removing this reduces the footprint of this library.
Upgrading? Check the README for details.
Fix: Refactored to support other, faster loops (libev/libevent)
(#12)
Explicitly list dependencies, clean up examples and extend test suite significantly
Client
and Server
implementationUpgrading from clue/socks v0.4.0? Use namespace
Clue\React\Socks
instead ofSocks
and you're ready to go!