Port
Socket
TCP
Transmission Control Protocol
TCP Segment
- Becomes payload for underlying Datagrams
Source Port
- TCP Port Sending Host
Destination Port
- TCP port of destination host
Sequence Number
ack number
Data length
- Length of TCP Segment
Flags
- Type of conent in segment (ACK, SYN, FIN etc.)
Window
Checksum
Urgent Pointer
Options
TCP Handshake 1
TCP Handshake 2
TCP Handhsake 3
- Client assumes the connection is ESTABLISHED
TCP Handshake 4
Server opens connection with Client and enters ESTABLISHED state
TCP Teadown 1
TCP Teardown 2
Server responds with an ACK segments and enters CLOSE-WAIT state
TCP Teardown 3
TCP Teardown 4
TCP Teardown 5
RST segment