setTcpNoDelay
This commit is contained in:
parent
c8937f3f52
commit
7c348b8ff4
|
@ -41,6 +41,7 @@ public class Relay implements Runnable, Node {
|
||||||
|
|
||||||
public void _connect() throws IOException, InterruptedException {
|
public void _connect() throws IOException, InterruptedException {
|
||||||
_sock = new Socket(_hostname, _port);
|
_sock = new Socket(_hostname, _port);
|
||||||
|
_sock.setTcpNoDelay(true);
|
||||||
_r = new SexpReader(_sock.getInputStream());
|
_r = new SexpReader(_sock.getInputStream());
|
||||||
_output = _sock.getOutputStream();
|
_output = _sock.getOutputStream();
|
||||||
_w = new SexpWriter(_output);
|
_w = new SexpWriter(_output);
|
||||||
|
|
Loading…
Reference in New Issue