I want to implement the entire GO BACK N protocol in C with 3 nodes A,B ,C
The Node B is a relay node which receives the packets from A and passes on to C. The communication is over UDP sockets and not TCP.
the file is assumed to be 100,000 bytes long and the packet is 100 bytes with a header of 4 bytes.The header contains SEQnum field and 16 bit internet checksum.
The reciever window size =1 and need to use minimum sequence space.
I am trying to implement the queue using DEQUE STL container.. and each packet will be taken out from the queue after every 1/P seconds since we have P packets and each packet's time is 1/P.
The Delay is assumed to be 1.