GATE 2025 CS (CS1) – Question 22
Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) P2: SYN = 1, ACK = 1; (D) P1: SYN = 1
Explanation
P1 is SYN (SYN=1), P2 is SYN+ACK (SYN=1, ACK=1), and P3 is ACK (SYN=0, ACK=1).
More TCP: Flow Control, Congestion Control, Socket API questions
- GATE 2025 CS (CS2) Q16
- GATE 2024 CS (CS1) Q29
- GATE 2024 CS (CS2) Q54
- GATE 2023 CS Q50
- GATE 2022 CS Q60
- GATE 2021 CS (CS1) Q54
All TCP: Flow Control, Congestion Control, Socket API questions →