Net::Async::SOCKS - some degree of SOCKS5 proxy support in IO::Async
Version 0.002
Currently provides a very basic implementation of SOCKS_connect:
$loop->connect( extensions => [qw(SOCKS)], SOCKS_host => 'localhost', SOCKS_port => 1080, host => '1.2.3.4', port => 80, )->then(sub { my ($stream) = @_; $stream->write("GET / HTTP/1.1..."); })
The following methods are added to IO::Async::Loop but are not intended to be called directly - use the extensions feature instead.
Establish a TCP connection via SOCKS5 proxy. Only allows IPv4 host and numerical port for now.
Tom Molesworth <cpan@perlsite.co.uk>
Copyright Tom Molesworth 2014. Licensed under the same terms as Perl itself.
To install Net::Async::SOCKS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::SOCKS
CPAN shell
perl -MCPAN -e shell install Net::Async::SOCKS
For more information on module installation, please visit the detailed CPAN module installation guide.