摘要
基于TCP/IP协议,利用Socket易于客户/服务器模式(C/S)网络编程的功能,实现了客户端和服务器端之间的相互通信,并将其应用于浮法玻璃质量在线检测系统;同时提出一种自诊断方法,使得客户端可以自动检测Socket连接状态并在断开的情况下实现向服务器端的重连。
In view of TCP/IP protocol and Socket for its facility in C/S pattern network programming, in this paper, data communication is realized between sever and clients and it has been applied on an on-line products automatic detection system. Furthermore, a method is proposed for a client to automatically diagnose the connection status between server and client and to re-connect the server when the disconnection is detected.
出处
《计算机应用研究》
CSCD
北大核心
2006年第11期160-163,共4页
Application Research of Computers
基金
国家自然科学基金资助项目(60474021)
湖北省科技攻关计划资助项目(2004AA101B01)
武汉市青年科技晨光计划基金资助项目(20045006071-26)