The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Protocol::BitTorrent::Message::Handshake - initial bittorrent peer handshake message

VERSION

version 0.003

METHODS

new

new_from_buffer

Returns an instance of a Protocol::BitTorrent::Message::Handshake subclass by parsing the given buffer.

Takes a single scalar ref as parameter - this should be a reference to the scalar buffer containing data to be parsed. Removes packet data from this buffer if parsing was successful.

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

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