其他
还在胡乱设置连接空闲时间?
原创:打码日记(微信公众号ID:codelogs),欢迎分享,转载请保留出处。
场景
检测服务端空闲断连时间
但我们可以使用telnet命令来检测,如下:
Trying 58.49.159.14...
Connected to 1595096.sched.d0-dk.tdnsv5.com.
Escape character is '^]'.
Connection closed by foreign host.
real 0m15.128s
user 0m0.000s
sys 0m0.000s
Ncat: Version 7.60 ( https://nmap.org/ncat )
Ncat: Connected to 58.49.157.164:443.
Ncat: 0 bytes sent, 0 bytes received in 15.12 seconds.
real 0m15.132s
user 0m0.000s
sys 0m0.031s
总结
往期内容
长按关注【打码日记】