Computer Sciences > GATE 2026 SET-1 > Transport Layer - TCP
With respect to a TCP connection between a client and a server, which one of the following statements is true?
A
The server cannot initiate closing of the connection before the client initiates closing of the connection
B
The client and server can initiate closing of the connection at the same time
C
The client and server use a two-way handshake mechanism before the start of data transmission
D
The TCP connection is half duplex.

Correct : b

Option A — False.
Either the client or the server can initiate the closing of a TCP connection. TCP uses a 4-way handshake (FIN, ACK, FIN, ACK) for connection termination and either side is free to send the first FIN. It is not restricted to the client only.
Option B - True.
TCP supports simultaneous close. Both the client and server can send a FIN segment at the same time without waiting for the other side to initiate first. This is a valid and well-defined scenario in TCP's connection termination process.
Option C - False.
TCP uses a 3-way handshake (SYN, SYN-ACK, ACK) before data transfer begins — not a 2-way handshake. A 2-way handshake is insufficient for TCP as it cannot confirm that both sides are ready to communicate reliably.
Option D - False.
TCP is a full duplex protocol. Data can be sent and received simultaneously in both directions over the same connection. Half duplex would mean only one side can transmit at a time.
The correct statement is B - The client and server can initiate closing of the connection at the same time (Option B)

Similar Questions

A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism’s slow-sta...
#1481 MCQ
A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ

Related Topics

GATE 2026 Computer Science CSE Set 1 Question 9 Computer Networks Transport Layer TCP TCP Connection Client Server 3-Way Handshake Connection Termination Simultaneous Close Full Duplex Half Duplex MCQ 1 Mark Previous Year Questions GATE CS 2026

Unique Visitor Count

Total Unique Visitors

Loading......