In this C programming assignment, you will complete the sending and receiving transport-level code for a simple reliable data transfer protocol Go-Back-N. This assignment doesn’t involve any socket programming. Instead, your program for both sender and receiver will be implemented in a protocol simulator provided in gbn.c. Your program will simulate the behavior of GBN as specified in the class notes (some differences will be noted in the following). A skeleton file gbn.c is provided and you are ONLY required to implement the blank functions listed in Section II of the file. The functions provided in Section IV “Student-callable ROUTINES” of the file can be called by your functions.
attachment
gbn.c
attachment
Project2.pdf
attachment
GBN_Protocol.pdf