From 41cfe7f09996572946ddcecf950fb8aeaf6e6a46 Mon Sep 17 00:00:00 2001 From: aaronsw Date: Sun, 21 Jul 2002 07:15:41 +0000 Subject: [PATCH] added some corrections to the quick start... is there a replacement for populateTable, drue? --- README.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.txt b/README.txt index 141e5fa..7e6135b 100644 --- a/README.txt +++ b/README.txt @@ -1,10 +1,9 @@ quick example: -import khashmir, threading +import khashmir, thread k = khashmir.Khashmir('127.0.0.1', 4444) -start_new_thread(k.dispatcher.run, ()) +thread.start_new_thread(k.dispatcher.run, ()) k.addContact('127.0.0.1', 8080) # right now we don't do gethostbyname -k.populateTable() alternatively, you can call k.dispatcher.runOnce() periodically from whatever thread you choose \ No newline at end of file -- 2.39.5