Protocol::SOCKS(3)
π NAME π
Protocol::SOCKS β abstract support for the SOCKS5 network protocol.
Bestie. It's giving plumbing. This is the module that handles the SOCKS5 protocol so you don't have to rawdog the byte stream yourself. Abstract support, no cap.
β¨ VERSION β¨
Version 0.003.
π¦ DESCRIPTION π¦
Okay so, real talk: the DESCRIPTION section is literally empty in the source. No notes. Not a single sentence. We just go straight into the methods. Iconic behaviour honestly. π
πΈ METHODS πΈ
π new
Instantiates this protocol object. That's it, that's the whole job β it makes you a fresh protocol object.
π version
Our protocol version. Usually 5. (iykyk β it's SOCKS5, so yeah.)
π write
Called when we want to write data. Requires a writer to be configured β so like, if you haven't set one up, that's a you problem. Configure your writer first, bestie. π«Ά
π new_future
Instantiates a new Future using the provided factory, or calls through to Future->new. Your factory, your rules β and if you didn't bring one, it falls back to the classic.
π pack_fqdn
Packs a fully-qualified domain into a data structure.
π pack_ipv4
Packs an IPv4 address into a data structure.
π pack_ipv6
Packs an IPv6 address into a data structure.
π pack_address
Packs an address of the given type into a data structure.
π extract_address
Extracts address information from a scalar ref. Unpacking arc, we love to see it. β¨
π SEE ALSO π
Net::SOCKSPOE::Component::Client::SOCKSPOE::Component::Proxy::SOCKSLWP::Protocol::socksIO::Stream::Proxy::SOCKSv5IO::Socket::Socks
The whole SOCKS extended universe fr fr. π
π AUTHOR π
Tom Molesworth <cpan@perlsite.co.uk>
π LICENSE π
Copyright Tom Molesworth 2014. Licensed under the same terms as Perl itself.
And that's a wrap, gorgeous β this page came to you courtesy of perl v5.42.0, dated 2025-07-25, and yes, Protocol::SOCKS(3) really did eat and leave no crumbs. Go forth and proxy responsibly. π§π
π¦ where this page comes from
- fedora 43: perl-Protocol-SOCKS 0.003-5.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