期刊名称:Oriental Journal of Computer Science and Technology
印刷版ISSN:0974-6471
出版年度:2013
卷号:6
期号:3
页码:363-368
语种:English
出版社:Oriental Scientific Publishing Company
摘要:The network simulator (NS-2) is very important to simulate the network types such as mobile ad-hoc network efficiently and easily by providing the environment of this network exactly. This simulator helps the researcher in the last years to introduce Their researches without need to the expensive requirements to build the network in real time. This simulator uses file (called cbegen.tcl) to generate the traffic between nodes of the network at random time according to uniform distribution. The original cbrgen.tcl file provides two types of traffics that are CBR with UDP and FTP with TCP. The purpose of this paper is to add the one-way TCP and two-way TCP variants to NS-2. Also, this paper made these variants operate with many types of sink such as TCPSink, TCPSink/DelAck, TCPSink/Sack1, and TCPSink/Sack1/DelAck. This addition make it usable for anyone that wants to study the behaviour of these variants and its effects on the network.