Initial revision
[quix0rs-apt-p2p.git] / README.txt
1 quick example:
2
3 import khashmir, threading
4 k = khashmir.Khashmir('127.0.0.1', 4444)
5 start_new_thread(k.dispatcher.run, ())
6 k.addContact('127.0.0.1', 8080)  # right now we don't do gethostbyname
7 k.populateTable()
8
9
10 alternatively, you can call k.dispatcher.runOnce() periodically from whatever thread you choose