International Journal of Engineering Technology, Management and Applied Sciences (IJETMAS)
NS2 is a discrete event simulator for networking research, which works at the packet level. Here, the authors will be using NS2 to simulate traffic congestion of TCP and UDP packets inside a network. NS2 is popularly used in the simulation of routing and multicast protocols and is heavily used in ad hoc networking research. NS2 supports network protocols (TCP, UDP, HTTP, Routing algorithms, MAC), etc. for offering simulation results for wired and wireless networks. When using TCP to transfer data the two most important factors are the TCP window size and the round trip latency.