This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitattributes | Fri Sep 11 21:31:46 -0700 2009 | |
| |
.gitclean.pl | Fri Sep 11 21:31:46 -0700 2009 | |
| |
.gitignore | Mon Apr 20 10:16:48 -0700 2009 | |
| |
Build.PL | Fri Sep 11 20:54:11 -0700 2009 | |
| |
Changes | Fri Sep 11 22:23:14 -0700 2009 | |
| |
LICENSE | Fri Sep 26 15:47:04 -0700 2008 | |
| |
MANIFEST | Fri Sep 11 20:54:37 -0700 2009 | |
| |
MANIFEST.SKIP | Fri Sep 11 20:54:11 -0700 2009 | |
| |
Makefile.PL | Fri Sep 11 22:23:14 -0700 2009 | |
| |
README | Fri Sep 11 22:23:14 -0700 2009 | |
| |
TODO.pod | Fri Feb 13 12:55:16 -0800 2009 | |
| |
inc/ | Fri Sep 11 21:18:48 -0700 2009 | |
| |
lib/ | Fri Sep 11 22:23:14 -0700 2009 | |
| |
scripts/ | Tue Feb 17 14:11:17 -0800 2009 | |
| |
t/ | Fri Sep 11 22:23:14 -0700 2009 | |
| |
tatoeba/ | Fri Sep 11 21:31:46 -0700 2009 |
README
Name
Net::BitTorrent - BitTorrent peer-to-peer protocol class
Synopsis
use Net::BitTorrent;
my $client = Net::BitTorrent->new();
$client->on_event(
q[piece_hash_pass],
sub {
my ($self, $args) = @_;
printf(qq[pass: piece number %04d of %s\n],
$args->{q[Index]}, $args->{q[Torrent]}->infohash);
}
);
my $torrent = $client->add_torrent({Path => q[a.legal.torrent]})
or die q[Cannot load .torrent];
$torrent->hashcheck; # Verify any existing data
$client->do_one_loop() while 1;
Description
"Net::BitTorrent" is a class based implementation of the current
BitTorrent Protocol Specification. Each "Net::BitTorrent" object is
capable of handling several concurrent .torrent sessions.
Installation
This distribution uses "Module::Build" for installation, so use the
following procedure:
perl Build.PL
./Build
./Build test
./Build install
Bugs
Please see the Todo file included with this distribution,
perldoc Net::BitTorrent, and perldoc Net::BitTorrent::TODO, and
http://sankorobinson.com/net-bittorrent/ for more information.
Author
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
CPAN ID: SANKO
License and Legal
Copyright (C) 2008-2009 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it
under the terms of The Artistic License 2.0. See the LICENSE file
included with this distribution or
http://www.perlfoundation.org/artistic_license_2_0. For clarification,
see http://www.perlfoundation.org/artistic_2_0_notes.
When separated from the distribution, all POD documentation is covered
by the Creative Commons Attribution-Share Alike 3.0 License. See
http://creativecommons.org/licenses/by-sa/3.0/us/legalcode. For
clarification, see http://creativecommons.org/licenses/by-sa/3.0/us/.
Neither this module nor the Author is affiliated with BitTorrent, Inc.
$Id$








