summaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2010-11-22 23:42:00 -0800
committerDavid Barksdale <amatus.amongus@gmail.com>2010-11-22 23:42:00 -0800
commit6b7d55268badb3f141e31fdddc431bc83175efec (patch)
treeb2e4ac547b4c9709533c0924c9880bc3bc5bd56a /NOTES
parente94bc6c4b07c0cba4780d0a75a1083a187bcf38e (diff)
TCP transport can make outgoing connections, not quite working yet.
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES4
1 files changed, 2 insertions, 2 deletions
diff --git a/NOTES b/NOTES
index 88f6f0e..067f034 100644
--- a/NOTES
+++ b/NOTES
@@ -3,7 +3,7 @@
(def keypair (generate-rsa-keypair! random))
(def my-peer (new-peer {:keypair keypair :random random}))
(.start (:selector-thread my-peer))
-(activate-udp! my-peer 5678)
-(configure-udp-addresses! my-peer (get-local-addresses) 5678)
+(activate-tcp! my-peer 5678)
+(configure-inet-addresses! my-peer "tcp" (get-local-addresses) 5678)
(activate-filesharing! my-peer)
(download-hostlist! (partial admit-hello! my-peer) "http://192.168.8.2:58080")