Skip to content

Commit

Permalink
v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Mar 2, 2023
1 parent 24b6b35 commit b6aaaae
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Add it as a maven dependency or just [download the latest release](https://githu
<dependency>
<groupId>com.konloch</groupId>
<artifactId>Socket-Server</artifactId>
<version>0.8.0</version>
<version>0.8.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion Core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.konloch</groupId>
<artifactId>Socket-Server</artifactId>
<version>0.8.0</version>
<version>0.8.1</version>

<name>Socket Server</name>
<description>Socket Server is an easy-to-use zero dependency low-level socket server for Java.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ public void run()
client.getSocket().read(buffer);

if (buffer.position() > 0)
{
client.resetLastNetworkActivity();
client.getInputBuffer().write(buffer.array(), 0, buffer.position());
}
else
client.setInputRead(false);

Expand Down Expand Up @@ -115,6 +118,7 @@ public void run()

if(bufferHasData)
{
client.resetLastNetworkActivity();
client.getSocket().write(buffer);
buffer.clear();
}
Expand Down
2 changes: 1 addition & 1 deletion Example/Echo-Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>com.konloch</groupId>
<artifactId>Socket-Server</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion Example/Return-Carriage-Echo-Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>com.konloch</groupId>
<artifactId>Socket-Server</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add it as a maven dependency or just [download the latest release](https://githu
<dependency>
<groupId>com.konloch</groupId>
<artifactId>Socket-Server</artifactId>
<version>0.8.0</version>
<version>0.8.1</version>
</dependency>
```

Expand Down

0 comments on commit b6aaaae

Please sign in to comment.