文件名称:确定用户是否在线心跳包
文件大小:110KB
文件格式:RAR
更新时间:2016-01-04 15:42:49
心跳包 Socket Thread
服务端定时检测所连接客户端是否有给来报到,报到了则判断在线,否则掉线,客户端定时发包给服务端,超过3次未取得响应,则理解为掉线,大概这就是所谓心跳包
【文件预览】:
KeepAlive
----WindowsFormsApplication1()
--------WindowsFormsApplication1()
--------WindowsFormsApplication1.psess(3KB)
--------WindowsFormsApplication1.sln(1KB)
--------WindowsFormsApplication1.v11.suo(41KB)
----ConsoleApplication1()
--------ConsoleApplication1.psess(3KB)
--------ConsoleApplication1()
--------ConsoleApplication1.sln(1KB)
--------ConsoleApplication1.v11.suo(36KB)