摘要
为了方便网络开发人员根据不同的需求构造网络数据包,采用COM和ActiveX技术,设计并实现了通用的网络数据包发生器.该发生器利用L ibnetNT动态链接库编程开发,并按照统一的接口封装底层网络数据包发生函数,可在不同的编程环境中使用.利用该控件网络应用程序的开发人员无需了解底层网络协议的细节,便可以产生特定的网络流量,有助于提高开发效率和代码重用率.
To make convenient for programmers to generate network packets according to user's requirement, a network packet generator was designed and implemented based on COM and ActiveX techniques. The LihnetNT DDL was used to program this generator and the low-level functions were encapsulated according to a unified interface. In this way, the generator can be used in different programming environments. Using this generator, a programmer needs not understand the details of low-level network protocols, and can generate desired network packets. It makes network programming more efficient and design elements more easily to be reused.
出处
《西南交通大学学报》
EI
CSCD
北大核心
2006年第1期58-62,共5页
Journal of Southwest Jiaotong University