Net::Async::SOCKS - some degree of SOCKS5 proxy support in IO::Async
Currently provides a very basic implementation of SOCKS_connect:
extensions => [qw(SOCKS)],
SOCKS_host => 'localhost',
SOCKS_port => 1080,
host => '126.96.36.199',
port => 80,
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 <firstname.lastname@example.org>
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.