Networks and Operating Systems - Implementing a Reliable Data Transfer Protocol using UDP - Engineering Assignment help

Download Solution Order New Solution
Assignment Task:
  1. Introduction

Your task is to write a client and a server program implementing a simple reliable data transfer protocol using UDP.  You are given the option of implementing one of the following protocols: stop-and-wait protocol (rdt v.3.0), Go Back-N, or Selective Repeat. 

 

Prototypes for a client and a server are provided in the start-up codes (downloadable from our stream website): Rserver_UDP.cpp and Rclient_UDP.cpp. In addition, two auxiliary programs are also available, myrandomizer.h and CRC_simple.c. Use the makefiles provided to build these programs.

 

The client must be able to perform a successful file transfer operation on a (simulated) unreliable channel. Packets can be lost and/or damaged randomly during transmission.

The client: - reads “data_for_transmission.txt”

- adds a header composed of a title and a sequence number (e.g., “PACKET #”)

- adds the payload data with ‘\r\n’ at the end

- then sends the segment via UDP

 

The server: - reads the packet via UDP

- extracts the line by separating it from the header (i.e., filters “PACKET #”)

- saves the line on a file called “data_received.txt”

If no packet is damaged or lost, the result is that data_received.txt is identical to data_for_transmission.txt. However, as we want to simulate an unreliable channel, we are going to force packets to be transmitted with damaged bytes, or to be discarded. In that case, the file received by the server will be different from the original one.

This Engineering Assignment has been solved by our Engineering Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.