为什么需要心跳包

https://blog.coderzh.com/2015/03/05/WhyHeartBeatNeeded/

 

http://mp.weixin.qq.com/s?__biz=MzAwNDY1ODY2OQ==&mid=207243549&idx=1&sn=4ebe4beb8123f1b5ab58810ac8bc5994&scene=4

用来检测长连接的状态。同时用来保活。网关可能会关闭不活跃的socket连接。

posted on 2017-07-17 01:52  longhorn  阅读(138)  评论(0编辑  收藏  举报

导航