SaraBaradaran / RDT-Protocol

Implementation of A Reliable Data Transfer Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reliable-Data-Transfer-Protocol

We have implemented a reliable data transfer protocol like TCP using raw socket. This protocol has been used in a hypothetical transportation system. You can get more information about how this transportation system works by reading the Transportation_Sytem_Project.pdf and Transportation_Sytem_Demo.pdf files.

Usage guide

Requirements

Step 1: Download Python Codes & Text Files

You can clone codes using the below command:

git clone https://github.com/SaraBaradaran/RDT-Protocol

Step 2: Copy Text Files Into Current RDT-Protocol Directory

rm -rf RDT-Protocol/.git
cd RDT-Protocol

cp ./files/path.txt .
cp ./files/maps.txt .
cp ./files/balance.txt .

Step 3: Change Scripts Permission

chmod +x ./script.sh
chmod +x ./script_ip.sh

You may have to modify wlp3s0 in the ./script.sh file according to your network interface. You can get your network interface using ifconfig command.

Finally, run ./script.sh file.

About

Implementation of A Reliable Data Transfer Protocol


Languages

Language:Python 97.5%Language:Shell 2.5%