Net::BitTorrent::DHT::Node - Mainline (bencode) DHT Node


new ( [ARGS] )

Creates a Net::BitTorrent::DHT::Node object. This constructor should not be used directly.


node_id ( )

Get the Node ID used to identify this node in the DHT swarm and our routing table.

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.


Sanko Robinson <> -


License and Legal

Copyright (C) 2008 by Sanko Robinson <>

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 For clarification, see

When separated from the distribution, all POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See For clarification, see

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