Net Bit Torrent DHT只读历史
名称:Net::BitTorrent::DHT-用于BitTorrent的类似Kademlia的DHT节点
概要:
use Net::BitTorrent::DHT;
use AnyEvent;
use Bit::Vector;
# Standalone node with user-defined port and boot_nodes
my $dht = Net::BitTorrent::DHT->new(
port => [1337 .. 1340, 0],
boot_nodes => [
['router.bittorrent.com', 6881],
['router.utorrent.com', 6881]
]
);
my $peer_quest = $dht->get_peers(Bit::Vector->new_Hex);
下载地址
用户评论