530 views
1 votes
1 votes

Say sequence # field has 5 bits. 

So, I know, we have a relation 

Ws+Wr <= avail seq #

So in simple SWP = 2^5 = 32 sequence number and SWS = 32 packets ( is it correct)?

in GBN = sequence number possible = 2^n-1 = 32-1 = 31 sequence # and SWS = 31 packets?

In SR, seq # = 2^n-1 = 2^4 = 16 seq # and SWS = 16

 

Though, in GBN we have WS+WR as N+1 <= avail seq #

and in SR we have 2N <= seq #

So, how to find the sequence # from seq # field bits?

Please log in or register to answer this question.

Related questions

616
views
1 answers
1 votes
iarnav asked Nov 12, 2018
616 views
Say sequence # field has 5 bits.then what would be the max SWS (sender window size) in case of simple SWP where nothing is mentioned explicitly that the SWP is GBN or SN,...
673
views
1 answers
2 votes
1.9k
views
2 answers
1 votes
radha gogia asked Apr 19, 2018
1,853 views
Consider GBN with sender's window size of n . Suppose that at time t , the next in order packet the receiver is expecting has a sequence number of 'k' . Assume that the m...
4.3k
views
3 answers
4 votes
अनुराग पाण्डेय asked Dec 6, 2015
4,325 views
Consider a Go Back N sliding window protocol that uses a frame size of $2$KB to send data on a $10$KBPS link with a Round Trip Time of $100$ milli seconds.To achieve a li...