Updated on 2026-08-14
This commit is contained in:
parent
439f4f927a
commit
53183d58f1
2 changed files with 17 additions and 29 deletions
|
|
@ -91,7 +91,7 @@ class NetworkModule {
|
|||
Socket provideSocket() {
|
||||
Socket socket = new Socket();
|
||||
try {
|
||||
socket.setSoTimeout(5000);
|
||||
socket.setSoTimeout(2000);
|
||||
try {
|
||||
socket.bind(new InetSocketAddress(0));
|
||||
} catch (IOException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue