Discussion
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Answer: D
The true statement is The client and server can initiate closing of the connection at the same time.
TCP explicitly allows a simultaneous close: both ends send FIN at about the same time, each acknowledges the other's FIN, and both pass through the CLOSING state to TIME_WAIT.
The other statements are false. TCP uses a three-way handshake (SYN, SYN-ACK, ACK), not a two-way one. Either end may close first, so the server can close before the client. A TCP connection is full-duplex, carrying data in both directions at once.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development