The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
55 views
Please explain ques 43 .
asked in Computer Networks by Loyal (7.1k points) | 55 views
0
If it is asking about congestion window, then equation used

unacknowledgeByte=Last Byte Sent - Last Byte Acknowledged $\leq$ min(cwnd,rwnd)

1 Answer

+1 vote

Answer will be D)

Sender window Size will be =Sequence Number of Last Frame Send- Sequence number of last acknowledgement received 

Receiver Window Size=Sequence Number of largest accepted Frame- Sequence number last frame received

Sequentially acceptance of frame required here. Because otherwise, we cannot locate, where there is any lost frame or corrupted frame

Below picture is for SR protocol which clears how SWS and RWS is changing with respect to sending of packets and receiving acknowledgement

In the diagram Sender window size will not change until 1st ACK is received

Similarly, receiver will not change it's window size, if there is lost frame in middle. When lost frame received , then only receiver will  slide it's frame buffer to it's next frame

answered by Veteran (86.7k points)
edited by
0
Please explain how

 Sender window Size will be =Sequence Number of Last Frame Send-Last Sequentially packet received

For instance sequence no of last frame sent is 3 and last sequentially packet received is 0 , so 3-0=0 but sender window size is 4 .

Also how this is true ?

Receiver Window Size=Sequence Number of last accepted Frame- Receiver window Size

Both on LHS and RHS we have receiver window size ?
+1
Sequence number means "How many packets the sender can send out on the net before it  wait for an ACK" Here maximum 4 packet we can send before get an ACK
+1

Say first packet 0 is send with sequence number 0

Now, until 0 is received as an ACK , keep track of packet 0.

Now, sender has a maximum buffer size 4, So, upto packet 3 it waits for an ACK

After, that sender buffer is full.

So, it will wait no more and and resend packet 0

i.e., maximum sender window size will be 3rd packet-0th packet=4

http://web.mit.edu/6.02/www/currentsemester/handouts/L23_notes.txt

+1

also size of receiver buffer cannot change, but receiver window size can change

https://gateoverflow.in/8217/gate2015-1-1-9



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

36,157 questions
43,608 answers
123,961 comments
42,860 users