Protocol::BitTorrent - protocol-level support for BitTorrent and .torrent files
package BitTorrent::Implementation; use Protocol::BitTorrent; ...
This distribution provides handling for the BitTorrent protocol at an abstract level. Although some utilities are provided for dealing with .torrent files, the intention is for this class to act as a base for building BitTorrent client/server/tracker implementations, rather than a complete independent package. Specifically, no attempt is made to listen or connect to network sockets.
See Protocol::BitTorrent::Metainfo for information on dealing with .torrent files, and also check the
bin/ directories for examples of code using these classes.
An actual working client+tracker implementation can be found in Net::Async::BitTorrent.
Parse .torrent data and return a Protocol::BitTorrent::Metainfo instance.
Wrapper around Protocol::BitTorrent::Metainfo for creating new .torrent data.
Returns the client type for a given peer_id.
Tom Molesworth <firstname.lastname@example.org>
Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.