CS FundamentalsHardGATE CS
A TCP receiver has a 64 KB buffer with LastByteRcvd − LastByteRead = 20 KB. The sender has LastByteSent − LastByteAcked = 30 KB, and its congestion window is 60 KB. How much more new data may the sender transmit right now?
- A. 44 KB
- B. 14 KB
- C. 30 KB
- D. 34 KB
Correct answer: B. 14 KB
rwnd = 64 − 20 = 44 KB; the usable window is min(cwnd, rwnd) − in-flight = min(60, 44) − 30 = 14 KB. 44 KB ignores what is already in flight; 30 KB uses cwnd instead of rwnd.
More Computer Networks questions
- After a timeout a TCP sender restarts with cwnd = 1 MSS and ssthresh = 32 MSS (slow start doubles cwnd per RTT, capped at ssthresh…
- Host A pings host B through one store-and-forward router: A–router is 10 Mbps, router–B is 100 Mbps, each with 5 ms propagation delay. The…
- Host X on LAN1 sends an IP packet to host Y on LAN3. The path is X → router R1 → LAN2 → router R2 → Y. All ARP caches are empty, and…
- Stop-and-wait runs over a geostationary satellite hop with one-way propagation 270 ms at 1 Mbps (ACKs negligible). What is the smallest…
- A (7, 4) Hamming code is used for single-error correction. A codeword suffers exactly TWO bit errors. What does the decoder do?
- A 900-byte binary file is attached to an email using Base64 (no line breaks). How many characters does the encoded attachment occupy?