mirror of
https://github.com/yanfeizhang/coder-kung-fu.git
synced 2026-05-08 15:02:35 +08:00
fix:加大backlog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user