nodechan

decentralized peer-to-peer anonymous messageboard client
git clone git://squid-tech.com/nodechan.git
Log | Files | Refs | README

commit 986343221d86d37aaa158c433925327772da7ab7
parent 4d0d089bc1aa8aec5688ea22c2c480db477fd8cc
Author: joshiemoore <jxm5210@g.rit.edu>
Date:   Fri,  9 Aug 2019 00:51:10 -0400

Fix hello-packets not sending

Diffstat:
Msrc/IncomingThread.java | 1+
Msrc/NodeChan.java | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/IncomingThread.java b/src/IncomingThread.java @@ -149,6 +149,7 @@ public class IncomingThread extends Thread { break; case 'H': // do nothing, the hello-packet is just for adding new peers + System.out.println("Hello received"); break; } } diff --git a/src/NodeChan.java b/src/NodeChan.java @@ -461,6 +461,6 @@ public class NodeChan { } // send the hello-packet to the peer - new OutgoingThread(p.getAddress(), NC_PORT, hello); + new OutgoingThread(p.getAddress(), NC_PORT, hello).start(); } }