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?

  1. A. 941
  2. B. 235
  3. C. 470
  4. 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

Exams that ask this topic