Simulated UDP Protocol with additional Sliding Window and Go-Back-N functionality. Part of University assignment.
The purpose of this University assignment was to demonstrate native UDP protocol, and add in sliding window and Go-Back-N to ensure packets are received and acknowledged on both ends, and received in sequential order.
Instructions:
- Run UDPServer. This continuously waits for packets to be received from its socket (from UDPClient)
- Run UDPClient, and enter an integer to define the sliding window. UDPClient reads the message from 'message.txt' and sends this to UDPServer.
- UDPClient and UDPServer will terminate once the entire message has been successfully received and acknowledged by the server.