Project 2 Clarifications
- Because you are implementing a stop-and-wait protocol, packets will actually not arrive out of order. However, your receiver may receive duplicate packets. You should discard any duplicates.
- Your Message of the Day should be long enough that it will generate multiple 16-byte packets. Also, keep in mind that the Message of the Day should change, daily.
- You will need to devise a way to test your protocol. For example, you might implement your sender and receiver such that they can run in a test mode. In test mode, your sender/receiver will drop packets to ensure that the loss is handled correctly.
Sami Rollins