fix:加大backlog

This commit is contained in:
zhangyanfei
2021-08-15 17:41:15 +08:00
parent de451c5ecc
commit 4284863f69
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ public class Server {
try {
ServerSocket ss = new ServerSocket();
ss.bind(new InetSocketAddress(sIp, sPort));
ss.bind(new InetSocketAddress(sIp, sPort), 1024);
System.out.println("启动Server " + sIp + ":" + sPort + "...");
int i = 0;