摘要
许多程序需要在了解网络连接状态的情况下,才能进行下一步操作。目前公司内部网络结构复杂,与外部网络间设有多重防火墙,造成网络状态检测的困难的。该文首先分析了原有几种检测网络连接状态的方法,然后针对常用查询检测方式的缺点,提出了利用IP Helper提供的消息响应函数,自动响应Windows消息机制检测网络连接的方法。
Before carry on next step,many programs need to detect the network state.At present,because the company network architec-ture is complex and has multiple firewalls,detection of network state become difficult.This article as first introduced several old network state detection methods.Then we analyzed shortcoming of the inquiry detection mode.Finally,we proposed a windows message mecha-nism network state detection method based on IP Helper.
作者
叶文来
YE Wen-lai(School of Computer Engineering,Jimei University,Xiamen 361021,China)
出处
《电脑知识与技术》
2009年第4Z期2837-2839,共3页
Computer Knowledge and Technology