AnyEvent-BitTorrent

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

will probably never be included in [AnyEvent::BitTorrent](https://metacpan.org/pod/AnyEvent::BitTorrent).

## What should I use instead?

If you're reading all of this with a scowl, there are many alternatives to
this module, most of which are sure to be better suited for advanced users. I
suggest (in no particular order):

- [BitFlu](http://bitflu.workaround.ch/). It's written in Perl but you'll
still need to be on a Linux, \*BSD, et al. system to use it.
- [Net::BitTorrent](https://metacpan.org/pod/Net::BitTorrent) ...in the future. I _do not_ suggest using either
the current stable or unstable versions found on CPAN. The next version is
being worked on and will be based on [Reflex](https://metacpan.org/pod/Reflex).

If you're working on a Perl based client and would like me to link to it, send
a bug report to the tracker [listed below](#bug-reports).

# Subclassing AnyEvent::BitTorrent

TODO

lib/AnyEvent/BitTorrent.pm  view on Meta::CPAN

             != -1) ? 1 : 0;
    if ($interesting) {
        if (!$p->{local_interested}) {
            $p->{local_interested} = 1;
            $s->_send_encrypted($p->{handle}, build_interested());
        }
    }
    else {
        if ($p->{local_interested}) {
            $p->{local_interested} = 0;
            $s->_send_encrypted($p->{handle}, build_not_interested());
        }
    }
}
has working_pieces => (is       => 'ro',
                       lazy     => 1,
                       isa      => HashRef,
                       init_arg => undef,
                       default  => sub { {} }
);



( run in 1.012 second using v1.01-cache-2.11-cpan-cc502c75498 )