Assignment 2 Solution

I have finished grading Assignment 2.

There are couple of common mistakes that worth highlighting here:

  1. If you receive a corrupted packet, you should not look at the content of the packet, since you cannot tell which bit is corrupted! Many of you still assume that p.seq is valid even when p.isCorrupted is true. For this, I takes off two points.
  2. Another common bug is that you did not make sure that all timers are cancelled when the connection is closed. As a result, the sender goes into infinite loop sending forever (and encountering exceptions forever).
  3. The last packet should be treated as any other packet. This means the sender should still ensure that it is received correctly, by repeated retransmitting until it does. Some of you forgot about this and only ensures that the packets are sent correctly, except the last one!

2 comments to Assignment 2 Solution

  1. Torirer says:

    I, too, once thought of is masterpapers legit, but when I read the review, and even more so I used its services, my doubts were dispelled because everything was done at the highest level.

  2. Jeremy Bushell says:

    When I was in the university Sometime I can’t complete my assignment because the concepts were not clear and at that time there is no help on the internet, now every students should have to thanks Wikipedia, You can also learn How To Create A Wikipedia Page For A University to make your university popular

Leave a Reply

Your email address will not be published. Required fields are marked *