首页
Node.js核心模块手册
参数说明
setKeepAlive(bol, times)
bol true:使用Keep-alive发送探包,false:不发送 times 探包间隔,单位毫秒(默认值0,已系统默认时间发送探包)