Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Retransmissions and duplicate ACKs are reactive TCP functions designed to recover from packet loss. TCP would be a poor protocol if it didn’t include some form of proactive method for preventing packet loss, but luckily it does.
TCP implements a sliding-window mechanism to detect when packet loss may occur and adjust the rate of data transmission to prevent this. The sliding window mechanism leverages the data recipient’s receive window to control the flow of data.