Sanko Robinson [三興]

NAME

Net::BitTorrent::Torrent::Tracker::UDP - Single UDP BitTorrent Tracker

Constructor

new ( [ARGS] )

Creates a Net::BitTorrent::Torrent::Tracker::UDP object. This constructor should not be used directly.

Methods

url ( )

Returns the related UDP 'URL' according to the original metadata.

as_string ( [ VERBOSE ] )

Returns a 'ready to print' dump of the object's data structure. If called in void context, the structure is printed to STDERR. VERBOSE is a boolean value.

BUGS/TODO

  • This is ALPHA code and as such may not work as expected.

  • Should I pretend UDP uses connections and trigger the 'tracker_connect' callback whenever we send() data just to keep things even?

See Also

BEP 15

UDP Tracker Protocol for BitTorrent http://bittorrent.org/beps/bep_0015.html

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.




Hosting generously
sponsored by Bytemark