Question Details

With respect to a TCP connection between a client and a server, which one of the following statements is true?

Options

A

The client and server use a two-way handshake mechanism before the start of data transmission

B

The server cannot initiate closing of the connection before the client initiates closing of the connection

C

The TCP connection is half-duplex

D

The client and server can initiate closing of the connection at the same time

Show Answer
Correct Answer
D The client and server can initiate closing of the connection at the same time

Solution :

The correct option is: The client and server can initiate closing of the connection at the same time

To understand why this statement is true, let us analyze each of the options in detail:

1. Simultaneous Connection Termination (The Correct Option):
In TCP (Transmission Control Protocol), connection release is symmetric. Either of the two endpoints (the client or the server) can initiate the connection teardown by sending a FIN packet. Because both peers operate independently, it is entirely possible for both the client and the server to decide to close the connection simultaneously. When this happens, both send a FIN packet at the same time, and each side transitions through the CLOSING state after receiving the other's FIN, eventually terminating the connection safely. Therefore, the statement "The client and server can initiate closing of the connection at the same time" is true.

2. Connection Establishment (Handshake):
TCP uses a three-way handshake (SYN, SYN-ACK, ACK) to establish a connection, not a two-way handshake. A two-way handshake is insufficient because it does not guarantee mutual synchronization of sequence numbers in both directions under network delays. Thus, the first option is false.

3. Initiating Connection Close:
TCP does not restrict connection teardown initiation to the client. The server is fully capable of initiating the close sequence first (active close) by sending a FIN segment before the client does. Thus, the second option is false.

4. Duplex Mode:
A TCP connection is full-duplex. This means data can be transmitted in both directions simultaneously over the same connection. It is not half-duplex. Thus, the third option is false.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • GATE
  • beginner
  • 3 hours
  • computer science and information technology

Prepare effectively for GATE 2026 Computer Science & Information Technology (CS & IT) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Data Structures, Algorithms, Operating Systems, DBMS, Computer Networks, Theory of Computation, Compiler Design, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 preparation strategy.

  • GATE
  • intermediate
  • 3 hours
  • computer science and information technology

Prepare for GATE 2026 Electrical Engineering (EE) with high-quality study material, previous year question papers, mock tests, syllabus updates, exam pattern, and expert preparation strategies. Master core EE subjects including Power Systems, Control Systems, Electrical Machines, Circuit Theory, Signals & Systems, Power Electronics, and Measurements to secure a top rank in GATE 2026.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: