Sanko Robinson > Net-BitTorrent-0.074000_012 > Net::BitTorrent::DHT::Standalone

Download:
Net-BitTorrent-0.074000_012.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.074000_003   Source  

NAME ^

Net::BitTorrent::DHT::Standalone

Description ^

This role is applied automatically when the Net::BitTorrent::DHT constructor is called without a blessed Net::BitTorrent object in the client parameter. For API documentation, see Net::BitTorrent::DHT.

Standalone DHT nodes may be useful for statistical purposes.

Methods ^

Aside from the public constructornew( )">, the API Net::BitTorrent::DHT::Standalone is exactly the same as the Net::BitTorrent::DHT.

Net::BitTorrent::DHT->new( )

This creates a new standalone DHT node. Random ports will be opened to incoming UDP connections via IPv4 and IPv6.

    use Net::BitTorrent::DHT;
    my $node = Net::BitTorrent::DHT->new( );

Author ^

Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/

CPAN ID: SANKO

License and Legal ^

Copyright (C) 2008-2010 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 notes on the Artistic License 2.0 for clarification.

When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.

Neither this module nor the Author is affiliated with BitTorrent, Inc.

syntax highlighting: