How does TCP establish a connection?
-
A
With a three-way handshake: SYN, SYN-ACK, ACK
Correct answer
-
B
With a four-way FIN and ACK exchange
-
C
With a single SYN packet sent by the client
-
D
With a two-way exchange: SYN and then ACK
Correct answer
A. With a three-way handshake: SYN, SYN-ACK, ACK
18 views
Explanation
The three-way handshake synchronises sequence numbers on both sides before data flows. A four-way FIN/ACK exchange is used to close a connection.
Reference
Asked in: GATE CS, NTS, PPSC, CCNA
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ