CS FundamentalsHardGATE CS · Product company CS fundamentals

Which statement about TCP's three-way handshake is correct?

  1. A. It negotiates the encryption keys for the connection
  2. B. It agrees on both initial sequence numbers; each SYN uses up one sequence number
  3. C. Only the client chooses an initial sequence number; the server reuses it
  4. D. The third segment (ACK) can never carry data

Correct answer: B. It agrees on both initial sequence numbers; each SYN uses up one sequence number

Each side picks a random ISN and the other acknowledges ISN + 1, so both directions agree on where the byte stream starts. The final ACK MAY carry data. Encryption is TLS's job.

More Computer Networks questions

Exams that ask this topic