Consider a scenario with two hosts, Alice and Bob. A web server running on Alice is trying to send data to a browser on Bob. For each TCP connection, Alice’s TCP stack maintains a buffer of 512 bytes and Bob’s TCP stack maintains a buffer of 1024 bytes. For simplicity, assume TCP sequence numbers began at 0 in this problem.
a) Bob’s stack received up to byte 560 in order from Alice, although its browser has only read up to the first 60 bytes. What will be the ACK and window in the TCP headers that Bob next sends to Alice?
Answer: Seq Number = 561 and window = 524
Why does the answer give a sequence number? Isn’t the question asking for ACK? Will the ACK be 560? Lecture 6 slide 42 makes me think it would be 560.