Net::Async::SOCKS(3)

πŸ“¦
version 0.003 Β· 2 versions
, in fedora 43

✨ 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