]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - README.txt
findCloseNodes() is the replacement for populateTable()
[quix0rs-apt-p2p.git] / README.txt
index 7e6135b9db810702eac1d06f0a941a39ab12798a..b692979341b316afdecd81cf7ef2f8e5576e01ab 100644 (file)
@@ -4,6 +4,6 @@ import khashmir, thread
 k = khashmir.Khashmir('127.0.0.1', 4444)
 thread.start_new_thread(k.dispatcher.run, ())
 k.addContact('127.0.0.1', 8080)  # right now we don't do gethostbyname
-
+k.findCloseNodes()
 
 alternatively, you can call k.dispatcher.runOnce() periodically from whatever thread you choose
\ No newline at end of file