Data Link Layer Code for Implementing a Simple Reliable Data

In this programming project, you will be writing sending and receiving data link layer code for implementing a simple reliable data transfer protocol. There are two versions of this project, the stop and wait for version and the GBN version.

This project prototypes are protocol3 and protocol5 in chapter 3 the data link layer of the textbook. You should implement the function from_physical_layer() and to_physical_layer() using UDP socket API. You should also implement other functions to make protocol3 and protocol5 runnable. Sender must display variable next_frame_to_send, ack_expected, s.seq. The receiver must display variable frame_expected. The sender will send 9 frames every 10 frames to simulate frame lose.

Data Link Layer Code for Implementing a Simple Reliable Data 1

You must submit the following files:

The project design document: for example, flow chart and running screen display.

Source code and executable file

Still stressed from student homework?
Get quality assistance from academic writers!