6 votes 6 votes In a TCP connection, the value of congestion window Cnwd = 2500 and the value of receiver window Rwnd = 4500.The host has sent 2000 bytes which has not been acknowledge. How many more bytes can be sent? A) 2000 B) 500 C) 2500 D) none of these Computer Networks congestion-control tcp + – Aegon asked Sep 22, 2016 Aegon 5.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 9 votes 9 votes Window Size = Min (Cnwd,Rwnd) = Min (2500,4500) = 2500 The host has sent 2000 bytes which has not been acknowledged. Hence, Number of bytes that can be sent = 2500 - 2000 = 500 . Answer B). Kapil answered Sep 22, 2016 • selected Sep 22, 2016 by Aegon Kapil comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Manu Thakur commented Oct 27, 2017 reply Follow Share @Anu "they are in the way right i.e. not reached till receiver" or "ack is delayed" these are not only the reasons that sender didn't receive the acknowledgment of bytes. There is one more possible reason, until receiver's transport layer doesn't deliver the bytes to the receiver's application process, it keeps all the unacknowledged bytes in its buffer. for your reference, from my own notes copied from Forouzan: 1 votes 1 votes Anu007 commented Oct 27, 2017 reply Follow Share sir what you know from congestion winodw. congestion winodw: The congestion window is a sender imposed window that was implemented to avoid overrunning some routers in the middle of the network path. I dont know why you think reciver cannot manage 2500 bytes. since it has sapce for that. Since reviver said i have capacity to recieve 4500 byte , since 2000 byte not ack so 4500-2000 = 2500 can not accomodated more in reciver buffer. Hope you get my point and i made my point correctly. 0 votes 0 votes Manu Thakur commented Oct 27, 2017 reply Follow Share yes @anu i understood your point. "Since reviver said i have capacity to receive 4500 byte , since 2000 byte not ack so 4500-2000 = 2500 can not accommodated more in receiver buffer." This assumption is not correct, when receiver advertises its window size that itself it subtracts those bytes which are unprocessed, it means rwnd = total receiver buffer size - number of unprocessed bytes. If rwnd=4500 it means reciever is capable of accepting 4500 bytes apart from 2000 unprocessed bytes. but the size of sender is set by the min(cwnd,rwnd) and in this case it's 2500 Bytes, and 2000 bytes are still in the buffer of sender, see how this system works: by the way, can you show some reference to prove your point? May be you're correct, and i am not! 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes option b iscorrect one vijju answered Sep 27, 2016 vijju comment Share Follow See all 0 reply Please log in or register to add a comment.