From 910733f29e93b60e45aea98f175c3ff3e2659ecf Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 27 Sep 2006 17:20:18 +0000 Subject: [PATCH] added proper support for dht router nodes (which are automatically used to bootstrap from, and won't get added to the routing table) --- docs/manual.html | 222 ++++++++++-------- docs/manual.rst | 24 +- examples/client_test.cpp | 15 +- include/libtorrent/kademlia/dht_tracker.hpp | 5 +- include/libtorrent/kademlia/node.hpp | 1 + include/libtorrent/kademlia/routing_table.hpp | 15 ++ .../kademlia/traversal_algorithm.hpp | 11 + include/libtorrent/peer_connection.hpp | 2 +- include/libtorrent/session.hpp | 1 + src/kademlia/dht_tracker.cpp | 24 +- src/kademlia/node.cpp | 5 + src/kademlia/routing_table.cpp | 11 +- src/session.cpp | 13 +- 13 files changed, 228 insertions(+), 121 deletions(-) diff --git a/docs/manual.html b/docs/manual.html index d0ad9794e..46180610b 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -40,125 +40,126 @@
  • is_listening() listen_port() listen_on()
  • pop_alert() set_severity_level()
  • start_dht() stop_dht() set_dht_settings() dht_state()
  • +
  • add_dht_node() add_dht_router()
  • -
  • entry