← BYTES
Unix IPC·Starter·Ref: 15.1.30
What is the TCP three-way handshake used to establish a connection?
Have a question about this video? Mention reference 15.1.30 when you contact us.
Client Server
---------- SYN -------------->
<------- SYN+ACK -------------
---------- ACK -------------->
ESTABLISHEDa.FIN, FIN-ACK, ACK
b.SYN, SYN-ACK, ACK
c.ACK, SYN, FIN
d.RST, SYN, FIN
A TCP connection is opened with a three-way handshake: the client sends SYN, the server replies SYN-ACK, and the client finishes with ACK -- after which the connection moves to ESTABLISHED. (Closing a connection is a separate, four-segment exchange involving FIN/ACK pairs, covered in later questions.)
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES15130#UnixIPC