mirror of
https://github.com/yanfeizhang/coder-kung-fu.git
synced 2026-05-09 07:32:32 +08:00
fix:加大backlog
This commit is contained in:
@@ -21,7 +21,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