Skip to content

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

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

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

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages