GATE 2017 Previous Year Paper Solution Question 12 – Computer Science
In this video, the question which was asked in the exam of GATE 2017, has been discussed.
Question :- Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP ?
1. LAST-ACK
2. TIME-WAIT
3. FIN-WAIT-1
4. FIN-WAIT-2
Solution is given in the video.