for establishing connection between the end systems
here we have 3 steps
sender receiver
sync bit ==1
1................................................>>>>
reply to sync bit + sync bit of receiver
2. <<<< .................................................
replay to R sync bit
3. ....................................................>>>>>
whole process is in three steps so we call it as three way handshake
TCP The three way handshake verifies that data arrived
TCP initializea the sequence numbers for the sessions.
transport layer
transport layer
TCP and UDP are transport layer protocols; the OSI layer is layer 4 (transport)
Application layer, and Transport layer.
transport layer
transport layer
TCP operates at transport layer
Layer 4 (Transport) is responsible for correction.
http needs a reliable mechanism to provide connectivity between the Host i.e. the web browser and the Server i.e the web server. Now TCP is the transport layer protocol that provides it reliable communication with three-way handshake mechanism it uses to connect between a client and a server. We also have UDP at transport layer but it is not reliable way of communicating. So http uses TCP at transport layer of OSI Model.
transport layer