client test now always uses dht. fixed problem with the dht logging and updated dht extension docs.

This commit is contained in:
Arvid Norberg
2007-03-08 21:42:37 +00:00
parent 6f0a0beadb
commit 2dbfa156d3
4 changed files with 28 additions and 17 deletions

View File

@@ -588,6 +588,8 @@ int main(int ac, char* av[])
ses.add_extension(&create_ut_pex_plugin);
#ifndef TORRENT_DISABLE_DHT
settings.use_dht_as_fallback = false;
dht_settings s;
s.service_port = listen_port;
ses.set_dht_settings(s);