When a timeout occurs, three things happend.
- First, slow start will be initiated.
- Second, the congestion window would start at 1.
- Third, the threshold will be reset to 20 KB/2= 10 KB.
- If the next four transmission are all successful, then
1st transmission: 1 segment, 1KB
2nd transmission: 2 segments, 2KB
3rd transmission: 4 segments, 4KB
4th transmission: 8 segments, 8KB
After these four successful transmissions, the window size is supposed to be 16.
However, since the threshold is 10 KB, the window size can only be 10 KB. ( as it says timeout thats why consider Threshold value ) ..