Marvell Technology Interview Question

What is Sliding window and TCP Selective ACK mechanism?

Interview Answer

Anonymous

Dec 24, 2011

sliding window is used to limit how many packets are in transmission at one time and is adjusted based on measured RTT's. for example, if my window size is 5, after having sent packets 0-4, i cannot send packet 5 until at least the ack for packet 0 has arrived. selective acks allow contiguous chunks to be acknowledge, even if bits before it aren't, so that the entire package need not be retransmitted