NAME

Protocol::SOCKS - abstract support for the SOCKS5 network protocol

VERSION

Version 0.003

DESCRIPTION

METHODS

new

Instantiates this protocol object.

version

Our protocol version. Usually 5.

write

Called when we want to write data. Requires a writer to be configured.

new_future

Instantiates a new Future using the provided factory, or calls through to Future->new.

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.

SEE ALSO

AUTHOR

Tom Molesworth <cpan@perlsite.co.uk>

LICENSE

Copyright Tom Molesworth 2014. Licensed under the same terms as Perl itself.