Na462 what's the answer given ??
Rutvik Reshamwala how ??
128 * 3 = 384
384 + 16 = 400
as we know sequence number starts from 0 - 127
therefore after 400th frames sequence number should be 16
yes you're right
thank you Rutvik Reshamwala
@ Rutvik Reshamwala , Brother
Here in question it is given that 128 is window size so 2^(n-1) = 128 , n = No. of bits for Sequence number = 8
So total sequence number possible = 0 to 255.
So the sequence number of Frame = 400 % 256 = 144
So the frame after that should be 145 ????
I am confused :(
as we know that sequence number is start from 0 to 255
So 400 % 256 = 144 [It means 144 th frames you send but sequence number of 144th frames should be 143 ]
after that 145 th frames should be send and sequence number should be 144
i:e ist frame is send but the sequence number of ist frame is '0'
in SR there is k bits sequence number
then senders window size = 2 n-1
and receiver windows size = 2 n-1
total sequence number = 2n-1+2n-1 = 2n (0 to 2 n-1 sequences we use)
yes you're right Na462
In case of GBN
in GBN there is n bits sequence number
then senders window size = 2 n - 1
and receiver windows size = 1
total sequence number = 2n - 1 + 1 = 2n (0 to 2 n- 1 sequences we use)
Na462 yes you are right