in Computer Networks
1,191 views
2 votes
2 votes

What should be the value of Y, when P has no data to send to Q?

in Computer Networks
1.2k views

4 Comments

edited
@akb

this seems correct! but what does this mean that server is sending back the same data to client? what is title of this diagram? can you post the whole page please here, please?
0
0

It is from kurose and ross book page number 237

link of this book

http://web.csulb.edu/~rlaster/docs/cecs572.pdf

1
1
Many thanks @akb!
0
0

2 Answers

3 votes
3 votes
Best answer

Here we know that : 

TCP is full duplex as far as data communication is concerned . Also acknowledgement is piggy-backed here i.e. acknowledgement along its own data is sent by the receiver to sender and vice versa in their own turns.

So

a) Sender sends data with sequence numbers (0 - 99) to receiver at the first step.

b) Receiver is free to send data beginning with other sequence number so sends data from sequence number (200-299)..And it sends the acknowledgement as well with the acknowledgement number as indicated by the next byte sequence number it is expecting from sender which is 100 in this case.So X = 100

c) So sequence number in the next round by the sender will be (100) i.e. sender will start transmitting from sequence number 100.At the same time it acknowledges receiver data and hence sends next expected byte sequence no from receiver which is 300 in this case.So Y = 100 , Z = 300

From "Computer Networking A Top Down Approcah by Kruose"

Hence D) should be correct option.

selected

4 Comments

@habib whatever you explained if it is true :) then definitely same should be in some book?
0
0
Keep on doubting . Same u can verify from previous year's questions also.
0
0
ok, link of any previous year questions?
0
0
–2 votes
–2 votes
option D

1 comment

This is a place of systematic discussion @1gate_cracker..Not the platform for playing KBC by reporting just option a) ,b) etc..I hope my message is clear to you @1gate_cracker..:)
0
0

Related questions