From 7c348b8ff47bbe3da89fd17e024d70b963ea322e Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Thu, 6 Jan 2011 09:14:20 -0500 Subject: [PATCH] setTcpNoDelay --- java/hop/Relay.java | 1 + 1 file changed, 1 insertion(+) 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);