摘要
在分析NS2仿真移动Agent的过程的基础上,通过扩展NS2中Packet结构,注册新的协议头并定义TCP的子类SCDTcp,解决了NS2上真实数据传输以及在TCP缓冲限制下的动态链接维护问题。设计了一个验证实例并在仿真平台上进行实验,实验结果表明所提出的扩展NS2设计可以有效地完成以上功能。
Based on analysis of the simulation process of mobile Agent in NS2,this paper solves the problems of real data transmission and maintenance of TCP dynamic linkage under the limit of the TCP buffer through extending the packet structure of the NS2,registering new protocol header and defining class SCDTcp which is the subclass of the TCP.An experiment example is designed and tested on the simulation platform,the result indicates this extending NS2 design can achieve the function above effectively.
出处
《计算机工程与应用》
CSCD
北大核心
2010年第20期64-67,共4页
Computer Engineering and Applications