- It’s connection oriented. The famous three way handshake is used for setting up a connection.
- Guarantees delivery
The source, target - addr and port to identify a unique tcp connection. Also referred to as 4-tuple.
- TCP header also carries:
- Sequence number: to process the segments sqeuentially on the receiving end
- Acknowledgement number: usually sqn+1.
- Flag
- SYN: init a 3 way handshake
- ACK: acknowledgement
- RST: Reset a connection in case of unrecoverable error(client or server restart)
- FIN: To close a connection.
- Three way handshake
- 4 way handshake to close a connection
-
Unlinked References