in Computer Networks
546 views
1 vote
1 vote
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, this info is not mentioned and only said SWP is used. So here how to calculate SWS?
in Computer Networks
by
546 views

1 Answer

1 vote
1 vote

here nothing is mention whether it is GBN or SR

but it there are sequence bit is n

and   in case of GBN sender window size is 2n-1

but in case of SR sender window size is 2n-1

so the maximum is 2n-1 which will be the answer here to find maximum no need to give whether it is GBN or SR because maximum will always be in case of GBN 

2 Comments

@Gurdeep Saini Please see this question - https://gateoverflow.in/1267/gate2007-69

and see the best answer, it's mentioned in the end and I quote as - 

Edit : here it is asked for general sliding window protocol not GBN nor SR . 

In general sliding window protocol: 

Sequence number bit =log(sender window size)

0
0
@larnav

watch the second answer which have 58 upvote you will get your answer
0
0

Related questions

2 votes
2 votes
1 answer
2