Comparison of TCP Protocols using NS3 | Week 6 | NS3 Online Course

Описание к видео Comparison of TCP Protocols using NS3 | Week 6 | NS3 Online Course

TCP in Wireless Networks in ns3

Refer these videos:
first.cc -    • Explaining first.cc with Ascii trace ...  
second.cc -    • Explaining second.cc with Ascii trace...  
third.cc -    • Explaining third.cc in NS3 - NS3 Tuto...  
Gnuplot -    • Gnuplot for plotting data  - NS3 Tuto...  
Step 1 - Explanation of TCP Protocols in Wireless Networks
wifi-tcp.cc

Step 2- Compilation and execution and calculating the throughput

Step 3: Comparison of various TCP protocols in ns3 for wireless networks.

Transmission Cotrol Protocol

Acknowledgement through Sequence Number

Error Control, Flow control and congestion Control

~ns-3.27/examples/wireless/wifi-tcp.cc

Copy this file in to scratch/ folder

To Change a new TCP protocol in command line, use the following statement.

$] ./waf --run "scratch/wifi-tcp --payloadSize=1000 --tcpVariant=TcpHighSpeed --pcap=true"

To change the payload

$] ./waf --run "scratch/wifi-tcp --payloadSize=2000"

Throughput of TcpNewReno is
1000 50.8712
1472 52.1583
2000 53.7056

The Gnuplot Code is
set terminal pdf
set output "tcpthru.pdf"
set title "TcpNewReno"
set xlabel "Payload"
set ylabel "Throughput MBits/second"
plot "thruput" using 1:2 with linespoints title "TCPNewReno"

Комментарии

Информация по комментариям в разработке