利用keepalive和timeout来判断死连接 · int keepalive = 1; // 打开keepalive · int keepidle = 10; // 空闲10s开始发送检测包(系统默认2小时) · int ...
確定! 回上一頁