TCP Three Way Handshake | TCP Connection Establishment

Опубликовано: 29 Сентябрь 2024
на канале: GD Networking Newbie
735
17

After discussing background information, 3-way handshake starts at 3:18

Transmission Control Protocol (TCP) is a transport layer protocol.
When using computers or any electronic gadget connected with Internet, we might be using many application programs like email, instant messaging or video streaming. These applications can be communicating with other application programs on remote hosts. TCP establishes and maintains connection between these application programs. In addition, TCP receives data from session layer, segments it and adds header to each segment.
TCP segment has two parts, Data and Header.
The header part has many important fields but for current discussion, the sequence number and the SYN and ACK fields are important which are used in initial handshake process.
Three-way handshake is a method which requires three steps to create the connection.
Step-1: Client sends a segment as a request to server to begin communication session with its SYN field set. This segment has the initial sequence number (ISN).
Step-2: Server responds by sending an acknowledgement value as sequence number plus 1 and its own initial sequence number (SYN).
Step-3: Client responds by sending an acknowledgement value as sequence number sent by server plus 1.
After these three step, the connection has been established between client and server and they can transmit actual data packets.

#ThreeWayHandshake
#TCPConnectionEstablishment