507 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

1 votes
1 votes
1 answer
1
iarnav asked Nov 12, 2018
595 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,...
2 votes
2 votes
1 answer
2