Tcp question in computer networks


#1

Consider the following statements:
S1: The size of TCP receiver window never change throughout the duration of the connection.
S2: Suppose host A is sending a large file to host B over a TCP connection. The number of unacknowledged bytes that host A send cannot exceed the size of the advertised receiver buffer.
Which of the following is correct?

  1. S1 is true but S2 is false

  2. S1 is false but S2 is true

  3. Both S1 and S2 is true

  4. Neither S1 nor S2 is true


#2

S1 is false because receiver advertisement window basically changes if some packets will be left unprocessed in the queue so there would be a change

S2 is true since max we can send packets equal to the advertised receiver buffer and wait for the acknowledgement.
Correct me if I am wrong. I suck at this kind of question.:grinning: