Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 837 Bytes

File metadata and controls

27 lines (20 loc) · 837 Bytes

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