Net::Async::SOCKS(3)
β¨ Net::Async::SOCKS β¨
okay bestie, welcome to Net::Async::SOCKS β it's giving SOCKS5 proxy support, but like, some degree of it, in IO::Async. we're keeping it real and keeping it honest π
VERSION β this is version 0.002, no cap π
πΈ DESCRIPTION πΈ
so rn it gives you a very basic implementation of SOCKS_connect. that's the whole vibe. lowkey minimal, highkey useful. here's what it looks like in the wild:
$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...");
})
likeβ¦ the way that just works?? obsessed π¦
π METHODS π
these methods get added to IO::Async::Loop, but β and this is the important part, bestie β they are not meant to be called directly. use the extensions feature instead, mwah π
π§ SOCKS_connect
establish a TCP connection via a SOCKS5 proxy. slay.
heads up tho: for now it only allows IPv4 host and numerical port. that's the limit. periodt π
π AUTHOR π
Tom Molesworth <cpan@perlsite.co.uk> β the main character fr fr π«Ά
π LICENSE π
copyright Tom Molesworth 2014. licensed under the same terms as Perl itself. iconic behavior β
and that's the whole page, bestie π tysm for reading, this was generated with perl v5.42.0 on 2025-07-25 β Net::Async::SOCKS(3), catch you on the flip side ππ¦β¨
π¦ where this page comes from
- fedora 43: perl-Net-Async-SOCKS 0.003-7.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms