public
Description: Perl based BitTorrent module available on CPAN
Homepage: http://sankorobinson.com/net-bittorrent/
Clone URL: git://github.com/sanko/net-bittorrent.git
Click here to lend your support to: net-bittorrent and make a donation at www.pledgie.com !
name age message
file .gitattributes Fri Sep 11 21:31:46 -0700 2009 git clean to ignore fake rcs [sanko]
file .gitclean.pl Fri Sep 11 21:31:46 -0700 2009 git clean to ignore fake rcs [sanko]
file .gitignore Mon Apr 20 10:16:48 -0700 2009 .gitignore stuff created while tinkering in /sc... [sanko]
file Build.PL Fri Sep 11 20:54:11 -0700 2009 Moving developer stuff out of Build.PL - D... [sanko]
file Changes Fri Sep 11 22:23:14 -0700 2009 And the cycle continues... [sanko]
file LICENSE Fri Sep 26 15:47:04 -0700 2008 Loads more stuff. - Test suite is a little le... [sanko]
file MANIFEST Fri Sep 11 20:54:37 -0700 2009 Regression test for DHT boot nodes fix [sanko]
file MANIFEST.SKIP Fri Sep 11 20:54:11 -0700 2009 Moving developer stuff out of Build.PL - D... [sanko]
file Makefile.PL Fri Sep 11 22:23:14 -0700 2009 And the cycle continues... [sanko]
file README Fri Sep 11 22:23:14 -0700 2009 And the cycle continues... [sanko]
file TODO.pod Fri Feb 13 12:55:16 -0800 2009 Minor pre-tag changes * update all ver... [sanko]
directory inc/ Fri Sep 11 21:18:48 -0700 2009 Developer stuff [sanko]
directory lib/ Fri Sep 11 22:23:14 -0700 2009 And the cycle continues... [sanko]
directory scripts/ Tue Feb 17 14:11:17 -0800 2009 And the cycle begins anew * New script /sc... [sanko]
directory t/ Fri Sep 11 22:23:14 -0700 2009 And the cycle continues... [sanko]
directory tatoeba/ Fri Sep 11 21:31:46 -0700 2009 git clean to ignore fake rcs [sanko]
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$