User Tools

Site Tools


tcp

Transmission Control Protocol (TCP)


Quick Overview of TCP

TCP communication guarantees packet delivery and is suited for applications that require high reliability.
TCP is used by:

  • HTTP
  • HTTPs
  • FTP
  • SMTP
  • Telnet

TCP rearranges all of the packates in a specific order (sequence).
TCP header size = 20bytes
TCP requires 3 packets to set up a socket connection before any user data can be sent.
Error checking

TCP Handshake

TCP handshake involves the following:

Client        Server
SYN --------> 
    <------- SYN-ACK
ACK --------->
tcp.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1