Simulate TCP Variant Comparison Under Bursty ON/OFF Traffic Model In this assignment, we simulate and compare TCP NewReno and TCP Vegas using NS-3 under a bursty ON/OFF traffic pattern. A congested network is created to observe how both variants behave in terms of throughput, delay, and packet loss. This helps in understanding the difference between loss-based and delay-based congestion control and how each performs in real network conditions. Using TCP NewReno Code: (24BPS1039.cc) #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/internet-module.h" #include "ns3/point-to-point-module.h" #include "ns3/applications-module.h" #include "ns3/netanim-module.h" #include "ns3/flow-monitor-module.h" using namespace ns3; int main () { Config::SetDefault( "ns3::TcpL4Protocol::SocketType" , TypeIdValue(TypeId::LookupByName( "ns3::TcpNewReno" ))...
Engineering Clinic
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc