节点文献
基于Windows Socket的网络通信中的心跳机制原理及其实现
The Principle and Implementation of Heartbeat Packet based on Windows Socket Communication
【摘要】 阐述了Windows Socket网络通信中的心跳机制及基本原理,在此基础上探讨了利用Delphi中ServerSocket、ClientSocket组件进行网络通信时,如何通过发送心跳包来检测客户端的非正常断开以及断开时服务端所作的相应处理。
【Abstract】 This paper describes the principle of Heartbeat Packet based on Windows Socket communication.It also discusses Server’s respective actions to detect the non-graceful disconnection at the Client by sending off Heartbeat Packet with Server Socket and Client Socket in Delphi for net communication.
【关键词】 套节字(Socket);
心跳包;
KeepAlive;
失效连接;
非优雅断开;
【Key words】 Socket; Heartbeat Packet; Keep Alive; Invalid Connection; Non-graceful disconnection;
【Key words】 Socket; Heartbeat Packet; Keep Alive; Invalid Connection; Non-graceful disconnection;
- 【文献出处】 沙洲职业工学院学报 ,Journal of Shazhou Professional Institute of Technology , 编辑部邮箱 ,2009年03期
- 【分类号】TP393.09
- 【被引频次】44
- 【下载频次】338