Question Details

Which of the following is correct about the TCP connection?

Options

A

Two-way handshaking.

B

TCP is half duplex.

C

The server can’t initiate closing of connection before client.

D

Client and server initiate closing connection at same time.

Show Answer
Correct Answer
D Client and server initiate closing connection at same time.

Solution :

The correct option is: Client and server initiate closing connection at same time.

To understand why this option is correct, let's analyze how TCP connection release operates and evaluate the given choices:

1. Connection Establishment vs. Connection Release:
Unlike connection establishment, which uses a three-way handshake (not a two-way handshake, making the first option incorrect), connection release is typically a symmetric process where each direction of the connection is closed independently.

2. Full-Duplex Nature of TCP:
TCP is a full-duplex protocol, not half-duplex (making the second option incorrect). This means data can flow in both directions simultaneously. Because of this, both the client and the server must close their respective directions of the channel.

3. Initiating the Connection Close:
Either the client or the server can initiate the closing of a connection first (the server can indeed initiate the close, which makes the third option incorrect). Alternatively, they can both initiate the closing of the connection at the same time (known as simultaneous close). In a simultaneous close scenario, both endpoints send active FIN segments to each other at the same time to tear down their respective sending halves of the connection.

Therefore, client and server initiating the closing of the connection at the same time is a valid state/behavior in TCP connection teardown.

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
  • civil engineering

Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.

  • GATE
  • beginner
  • 3 hours
  • electronics and communication engineering

Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) 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 Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.

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: