Skip to content

song2181/RDT_UDT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDT UDP

A simple implementation of RDT (Reliable Data Transfer) You need to run in correct order: interceptor, receiver, then sender.

Interceptor

25% of packets will be dropped. Another 25% of packets will be corrupted by randomly changing one byte. You can change the percentage by editing intercepter.py.

Usage: python interceptor.py FromSenderPort ToReceiverPort FromReceiverPort ToSenderPort
python interceptor.py 1600 1601 1602 1603

Receiver

python receiver.py 1602 1601

Sender

python sender.py 1600 1603 file.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages