CS FundamentalsVery hardGATE CS (PYQ pattern)
A client uses ephemeral ports 32768 to 60999 (28,232 ports). Every connection to the same server IP and port ends with the client in TIME_WAIT for 60 s (the client closes first). Approximately how many NEW connections per second can the client sustain to that one server before running out of ports?
- A. 941
- B. 235
- C. 470
- D. 28232
Correct answer: C. 470
Each port is unusable for 60 s after a connection closes, so the sustained rate is 28,232 / 60 = about 470 connections per second.
More Computer Networks questions
- A path has 10 Gbps bandwidth and an RTT of 80 ms. To keep the pipe full, TCP needs a window of one bandwidth-delay product. What is the…
- Three long-lived TCP flows share an 11 Mbps bottleneck with the same loss rate and segment size, so each flow's throughput is proportional…
- An IPv4 packet has header length (IHL) 6, total length 0x0074 bytes, and carries a TCP segment whose data-offset field is 8. The IP header…
- A TCP client with initial sequence number 4000 completes the handshake, sends 1000 bytes of data in two segments, and then sends FIN. The…
- A router output port is modelled as an M/M/1 queue with arrival rate 80 packets/s and service rate 100 packets/s. What is the average time…
- A 1 Mbps link is shared by 35 users, each active only 10% of the time (independently) and sending at 100 kbps when active. With packet…