Skip to content

Commit c9c53ca

Browse files
mint-runsmint-runs
authored andcommitted
update to Client.java
1 parent 6a9afcd commit c9c53ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/de/javasocketapi/core/Client.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ public void connect() throws IOException {
3939
if (this.socket == null) {
4040
//initialise socket
4141
this.socket = new Socket(this.hostname, this.port);
42-
this.socket.setTcpNoDelay(true);
43-
this.socket.setKeepAlive(true);
44-
//this.socket.setPerformancePreferences(0, 1, 2);
42+
this.socket.setPerformancePreferences(1, 0, 0);
4543
}
4644
//start reading and writing
4745
this.inputStreamThread = new InputStreamThread(this);

0 commit comments

Comments
 (0)