diff --git a/java/hop/Relay.java b/java/hop/Relay.java index 626cdef..ea42bb7 100644 --- a/java/hop/Relay.java +++ b/java/hop/Relay.java @@ -41,6 +41,7 @@ public class Relay implements Runnable, Node { public void _connect() throws IOException, InterruptedException { _sock = new Socket(_hostname, _port); + _sock.setTcpNoDelay(true); _r = new SexpReader(_sock.getInputStream()); _output = _sock.getOutputStream(); _w = new SexpWriter(_output);