Protocol::BitTorrent::Message::Handshake - initial bittorrent peer handshake message
version 0.004
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.
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.
To install Protocol::BitTorrent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::BitTorrent
CPAN shell
perl -MCPAN -e shell install Protocol::BitTorrent
For more information on module installation, please visit the detailed CPAN module installation guide.