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:

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 --------->