Skip to content

EeshaArif/Reliable-File-Transfer-UDP-Without-Timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relaible_UDP_VideoFileTransfer

Implementation

Implementing reliability in UDP:

  1. Re ordering on receiver side by using sequence numbers
  2. Selective repeat
  3. Stop n Wait protocol without timeout (5 UDP Segments)

Compilation

Commands to compile the files

  • gcc UDPserver.c -lpthread -o serv.out
  • gcc UDPclient.c -lpthread -o cli.out

Execution

Commands to run the files

  • ./serv.out 9898
  • ./cli.out 9898

Client

An abstract explanation of the client logic:

client-logic-flowchart

Server

An abstract explanation of the server logic:

server-logic-flowchart

About

A program in GNU C/Linux that transfers a video file in UDP reliably using sliding window protocol without timeout and selective repeat.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages