obonaventure / cnp3

Computer Networking : Principles, Protocols and Practice (first and second edition, third edition is being written on https://github.com/cnp3/ebook)
https://www.computer-networking.info
503 stars 91 forks source link

Congestion control : algo #173

Open GTihon opened 9 years ago

GTihon commented 9 years ago

The code for the congestion control below says that the dupacks is reinitialized when an old ack is received. Shouldn't it remain equal and shouldn't we only ignore the old ack? However, the dupack is not reinitialized when a new ack is received.

image

Gautier Tihon