Apache2::ModBT

Apache2::ModBT is a mod_perl interface to mod_bt.
Download

Apache2::ModBT Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tyler MacDonald
  • Publisher web site:
  • http://search.cpan.org/~crakrjack/

Apache2::ModBT Tags


Apache2::ModBT Description

Apache2::ModBT is a mod_perl interface to mod_bt. Apache2::ModBT is a mod_perl interface to mod_bt.SYNOPSIS use Apache2::ModBT; sub handler { my $r = shift; my $tracker = $r->server->ModBT_Tracker(); print $tracker->num_peers, "n"; foreach my $i ($tracker->Infohashes()) { ... } }This is a pole for perl.The Apache2::ModBT module adds a method onto the Apache::Server object which returns the LibBTT Tracker object for the current mod_bt process. When manipulating a mod_bt tracker from within Apache2, you should use this method instead of calling Net::BitTorrent::LibBTT->new().$r->server->ModBT_Tracker()Returns a tracker object that corresponds to the mod_bt tracker instance running on the current apache process. If the tracker is not enabled ("Tracker On" is not set in httpd.conf), this will return undef. Requirements: · Perl


Apache2::ModBT Related Software