All mock tests are FREE till 31 December — register to save your progress
Unit 9 · Data Communication and Computer Networks Paper 2 CS · June 2024 Re-Exam

Consider the three-way handshake during TCP connection establishment between hosts A and B. Let S and R be the random 32-bit initial sequence numbers chosen by A and B respectively. A sends a TCP segment with SYN = 1, SEQ = S and ACK bit = 0, and B accepts the connection request. Which of the following represents the information in the TCP header sent by B to A?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. SYN = 1, SEQ = R, ACK bit = 1, ACK number = S+1, FIN = 0

Explanation

B replies with SYN-ACK: SYN = 1 with its own sequence number R, and ACK = 1 acknowledging A's SYN with ACK number S + 1 (the SYN consumes one sequence number).

More Data Communication and Computer Networks questions