摘要
在某水下安防船底安检系统中,远程主机通过无线网络连接中心机房的数据服务器,由于无线网络不稳定等原因,可能造成远程主机的假死现象,造成严重后果。介绍了在连接数据服务器之前,利用SendARP函数向其发送ARP请求数据包,通过该函数的返回值来判断数据服务器是否在线,避免了远程主机的假死现象。
Because of the instability of wireless network,the remote PC connecting to the database in Computer Centre room on wireless network may be at the state of suspended animation which can cause serious consequences in security check for bottom system.A method which is using the function of SendARP make sure the database is on the LAN before connecting to database be introduced to resolve the problem,which avoid the state of suspended animation.
出处
《电脑编程技巧与维护》
2012年第16期101-103,共3页
Computer Programming Skills & Maintenance