summaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2010-10-08 00:14:49 -0700
committerDavid Barksdale <amatus.amongus@gmail.com>2010-10-08 00:14:49 -0700
commitb275299f69f54ac4431b4479a5449dfb05b08d79 (patch)
tree357e53113e82c53e6852090fe3094fe3a8169ae0 /NOTES
parent70948418ea93157e1d09da9875685f4a588ea8c6 (diff)
Continuations and pending messages are now stored in a ConcurrentLinkedQueue.
Starting code for address validation. UDP message sending working!
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES7
1 files changed, 7 insertions, 0 deletions
diff --git a/NOTES b/NOTES
new file mode 100644
index 0000000..53032e8
--- /dev/null
+++ b/NOTES
@@ -0,0 +1,7 @@
+(use '(org.gnu.clojure.gnunet crypto hello hostlist inet iostream message parser peer tcp transport udp util))
+(def keypair (generate-rsa-keypair))
+(def my-peer (new-peer {:keypair keypair}))
+(.start (:selector-thread my-peer))
+(activate-udp! my-peer 5678)
+(configure-udp-addresses! my-peer (get-local-addresses) 5678)
+(download-hostlist! (partial admit-hello! my-peer) "http://192.168.8.2:58080")