Protocol::SOCKS(3)

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

πŸ’– 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::SOCKS
  • POE::Component::Client::SOCKS
  • POE::Component::Proxy::SOCKS
  • LWP::Protocol::socks
  • IO::Stream::Proxy::SOCKSv5
  • IO::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