Unit 7 Written Assignment
Unit 7 Written Assignment
Course: CS 2204
1. Why does the maximum packet lifetime have to be large enough to ensure that
not only the packet but also its acknowledgments have disappeared?
The purpose for designing the maximum lifetime of a packet to be large enough to ensure that
not only the packet, but also its acknowledgement have disappeared is to prevent old-
duplicate packet problems (Dordal, 2019). Once a connection is closed, a large enough time
interval must pas before subsequent connection in order to avoid the eventuality of duplicate
re-transmission.
congested network.
Nagle’s algorithm was designed for optimization. The downside to this is the high latency.
When small TCP segment using Nagle’s, algorithm accumulate into larger ones, the latency
on the network also increases. Nagle’s algorithm will ruin user experience in latency
intolerant networks such online games. In other connections such a stock trading, it may
3. Give two examples of cases where TCP sends data-less packets on an established
2
WRITTEN ASSIGNMENT UNIT 7
A data-less TCP packet is one that has no payload and a size of exactly 40 bytes in size. A
data-less packet can be sent in three cases. The packet can be sent as an ACK or as a SYN.
probably awaiting an ACK from the server for connection termination. There are several
reasons why the server might take a long time to send the ACK. It may be that the server ran
out of resources of that it simply crashed. This leads to a situation where the connection with
FIN_WAIT_2?
received ACK from the remote server whose socket was chosen, or which did not
Reference
3
WRITTEN ASSIGNMENT UNIT 7