GATE | Gate IT 2008 | Question 67
The three way handshake for TCP connection establishment is shown below.
Which of the following statements are TRUE?
(S1) Loss of SYN + ACK from the server will not establish a connection
(S2) Loss of ACK from the client cannot establish the connection
(S3) The server moves LISTEN → SYN_RCVD → SYN_SENT → ESTABLISHED in the state machine on no packet loss
(S4) The server moves LISTEN → SYN_RCVD → ESTABLISHED in the state machine on no packet loss.
(A) S2 and S3 only
(B) S1 and S4
(C) S1 and S3
(D) S2 and S4
Explanation: Before Three Way Hand Shake both client and server are in closed state for start sending or receiving both client and server comes in Listen state.
1) Client sent SYN packet which will be received by the server.
2) Server will SYN + ACK packet so as to establish the connection of client. Now Client is ready to send the data.
3) Then Client will send ACK packet to server when this packet is received by server the server will also be in established state.
Loss of SYN + ACK will not result in connection establishment of Client and thus it will not be able to send data to server.
This explanation has been contributed by Abhishek Kumar.
Quiz of this Question
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.