Skip to content

Cypre55/My-Reliable-Protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Reliable Protocol

My Reliable Protocol is built on top of UDP and provides reliable communication with re-transmission if messages are dropped. However, it can have out-of-order delivery as well as duplicate messages.

More details regarding data structures and functions to make this protocol possible are listed here.

Testing

user1.c acts as a server which transmits every character of a string as a message. The server will intentionally drop messages with probability p to test the reliabilty. user2.c is the client and receives the message. By comparing the strings, we can observe the out-of-order and duplicate messages.

Usage

# To run user1.c
make run1

# To run user2.c
make run2

Folder Structure

├── Documentation.txt
├── librsocket.a
├── Makefile
├── README.md
├── rsocket.c
├── rsocket.h
├── user1.c
└── user2.c

Credits

Built by Satwik Chappidi and Nikhil Tudaha

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published