This repository contains my solutions to the assignments of the course CSE-322 provide by BUET CSE Department.
Here is the course outline.
socket programming
tcp
ns3
-
- Copy the
wireless-static-dumbbell.cc
file toscratch
directory of ns3. - Copy the
wireless-static-dumbbell.sh
andgnuplotter.gp
file to ns3 directory (ns-allinone-[version]/ns-[version]
). - Run the
wireless-static-dumbbell.sh
file using the following command from ns3 directory:bash ./wireless-static-dumbbell.sh
- A
wireless-static-dumbbell-metrics
folder will be created in ns3 directory. It will contain the metrics and graphs of the simulation.
- Copy the
-
- Copy the
wireless-mobile-dumbbell.cc
file toscratch
directory of ns3. - Copy the
wireless-mobile-dumbbell.sh
andgnuplotter.gp
file to ns3 directory (ns-allinone-[version]/ns-[version]
). - Run the
wireless-mobile-dumbbell.sh
file using the following command from ns3 directory:bash ./wireless-mobile-dumbbell.sh
- A
wireless-mobile-dumbbell-metrics
folder will be created in ns3 directory. It will contain the metrics and graphs of the simulation.
- Copy the
ns3
tcp adaptive-reno
- Problem Specification
- Solution
-
- Copy
tcp-adaptive-reno.cc
andtcp-adaptive-reno.h
files tosrc/internet/model
directory of ns3. Follow the instructions at the beginning of task-2 in problem specification. - Make a
congestion control
directory inscratch
directory of ns3. Copycongestion-control.cc
,packet-source.h
andpacket-source.cc
files tocongestion control
directory. - Copy all
.gp
and.sh
files to ns3 directory. - Run the
congestion-control.sh
file using the following command from ns3 directory:bash ./congestion-control.sh
- All the metrics and graphs will be created in
congestion-control-metrics
directory of ns3 directory.
- Copy
data link layer
hamming code
crc