edited by
40,938 views
111 111 votes

On a TCP connection, current congestion window size is Congestion Window = $4$ KB. The window size advertised by the receiver is Advertise Window = $6$ KB. The last byte sent by the sender is LastByteSent = $10240$ and the last byte acknowledged by the receiver is LastByteAcked = $8192$. The current window size at the sender is:

  1. $2048$ bytes
  2. $4096$ bytes
  3. $6144$ bytes
  4. $8192$ bytes

12 Answers

Best answer
126 126 votes

Answer should be (B).

Current Sender window $=\text{min(Congestion Window, Advertised Window)}$

$=\text{min}(4KB, 6KB)$

$= 4KB$.

edited by
28 28 votes
  • The current window size at the sender is = $\large\color{maroon}{4}$KB

edited by
12 12 votes

Answer is (A)

Current Sender window = min (Congestion Window, Advertised Window)= min(4KB, 6KB)= 4KB

Unacknowledged Bytes= 10240 - 8192 = 2048 Bytes =2 KB

Since 2KB data is unacknowledged it can send only (Current window- Unacknowledged Bytes)= 4KB- 2KB =2KB = 2048 Bytes

edited by
2 flags:
✌ Low quality (raviraj09)
✌ Low quality (Bhaskar_Pallela)
12 12 votes
B)

 

Since Receiver window size is 6KB and N/W congestion window size is 4KB so sender has to send only 4KB window.

 

Sender window size= min(Wcongestion,Wadverstised)

                                =min(4KB,6KB) 

                                 =4KB

 

10240 B is last byte that is sent and last byte that is acknowledged is 8192.So free space in window will be 2048 B but question is just asking you Ws which will be 4KB.
 
9 9 votes

The current sender window size is 4KB  = 4096
See the following for more details:

Consider the following example, see sender window size is 9.

0 0 votes
Its more of a doubt
At the start of transmission, the data that can be sent =min(4kb,6kb)=4kb

So 4096 bytes are sent
then the congestion window size doubles(if I  assume the connection is in slow phase)=8192kb

so next max data that can be send=min(8kb,6kb)=6kb

total data sent uptil now=4096+6144=10240 bytes
and the data is acknowledged upto 8192 bytes.
So 2048 bytes are unacknowledged and currently only 4096 bytes can be sent which is hence the current window..is it right?
Answer:
Position:
Show:

Related questions

44 44 votes
4 answers 4 answers
21.1k
21.1k views
Ishrat Jahan asked Nov 3, 2014
21,059 views
A network with CSMA/CD protocol in the MAC layer is running at $1 \text{Gbps}$ over a $1 \text{km}$ cable with no repeaters. The signal speed in the cable is $2 \times 1...
61 61 votes
8 answers 8 answers
22.0k
22.0k views
Ishrat Jahan asked Nov 3, 2014
22,044 views
Which of the following statements is TRUE about CSMA/CD:IEEE $802.11$ wireless LAN runs CSMA/CD protocolEthernet is not based on CSMA/CD protocolCSMA/CD is not suitable f...
72 72 votes
7 answers 7 answers
26.1k
26.1k views
Ishrat Jahan asked Nov 3, 2014
26,090 views
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to...
31 31 votes
5 answers 5 answers
9.1k
9.1k views
Ishrat Jahan asked Nov 3, 2014
9,078 views
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to...