周玉环 d906a41c2e first commit 2 gün önce
..
bep44 d906a41c2e first commit 2 gün önce
containers d906a41c2e first commit 2 gün önce
int160 d906a41c2e first commit 2 gün önce
k-nearest-nodes d906a41c2e first commit 2 gün önce
krpc d906a41c2e first commit 2 gün önce
peer-store d906a41c2e first commit 2 gün önce
traversal d906a41c2e first commit 2 gün önce
types d906a41c2e first commit 2 gün önce
LICENSE d906a41c2e first commit 2 gün önce
README.md d906a41c2e first commit 2 gün önce
addr.go d906a41c2e first commit 2 gün önce
announce.go d906a41c2e first commit 2 gün önce
bootstrap.go d906a41c2e first commit 2 gün önce
bucket.go d906a41c2e first commit 2 gün önce
dht.go d906a41c2e first commit 2 gün önce
dns.go d906a41c2e first commit 2 gün önce
doc.go d906a41c2e first commit 2 gün önce
errnos-not-windows.go d906a41c2e first commit 2 gün önce
errnos_windows.go d906a41c2e first commit 2 gün önce
expvar.go d906a41c2e first commit 2 gün önce
globals.go d906a41c2e first commit 2 gün önce
hash-tuple.go d906a41c2e first commit 2 gün önce
misc.go d906a41c2e first commit 2 gün önce
nearest-nodes.go d906a41c2e first commit 2 gün önce
node.go d906a41c2e first commit 2 gün önce
nodes_file.go d906a41c2e first commit 2 gün önce
security.go d906a41c2e first commit 2 gün önce
server.go d906a41c2e first commit 2 gün önce
table.go d906a41c2e first commit 2 gün önce
tokens.go d906a41c2e first commit 2 gün önce
transaction.go d906a41c2e first commit 2 gün önce

README.md

dht

Go Reference

Installation

Get the library package with go get github.com/anacrolix/dht/v2, or the provided cmds with go install github.com/anacrolix/dht/v2/cmd/...@latest.

Commands

Here I'll describe what some of the provided commands in ./cmd do.

dht-ping

Pings DHT nodes with the given network addresses.

$ go run ./cmd/dht-ping router.bittorrent.com:6881 router.utorrent.com:6881
2015/04/01 17:21:23 main.go:33: dht server on [::]:60058
32f54e697351ff4aec29cdbaabf2fbe3467cc267 (router.bittorrent.com:6881): 648.218621ms
ebff36697351ff4aec29cdbaabf2fbe3467cc267 (router.utorrent.com:6881): 873.864706ms
2/2 responses (100.000000%)