From b275299f69f54ac4431b4479a5449dfb05b08d79 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Fri, 8 Oct 2010 00:14:49 -0700 Subject: Continuations and pending messages are now stored in a ConcurrentLinkedQueue. Starting code for address validation. UDP message sending working! --- NOTES | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 NOTES (limited to 'NOTES') 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") -- cgit v1.2.3-18-g5258