Welcome to Bucaro TecHelp!

Bucaro TecHelp
HTTPS Encryption not required because no account numbers or
personal information is ever requested or accepted by this site

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

SYN-ACK Handshake to Establish a TCP Connection

Three messages are required to establish a TCP connection between two hosts.

TCP SYN message

1. Host A sends a sends a SYN (for synchronize) message to Host B. The message contains control bits identifying it as a SYN message and it contains a sequence number.

TCP SYN-ACK message

2. When Host B receives the SYN message, it sends an ACK (for acknowledge) message combined with its own SYN message to Host A. The ACK message contains a sequence number, and a SYN sequence number which is the incremented SYN sequence number it received from Host A.

TCP ACK message

3. When Host A receives the SYN-ACK message, it sends an ACK message to Host B. The ACK sequence number is the incremented ACK sequence number it received from Host B.

TCP Socket connection

4. When Host B receives the ACK message, a TCP Socket connection is established. A TCP Socket is a "virtual port". A virtual port is a connection identified by the Host's IP address along with a 16-bit port number. Port numbers are standardized for various applications or processes, for example HTTP uses port 80 by default.

More Networking Protocols and Standards:
• Video - Data Link Layer of OSI Networking Model
• TCP/IP Protocol Suite
• IPv6 Payload Length Field and Jumbograms
• Shortest Path Bridging (SPB) Protocol
• IPv6 Anycast Addresses
• OSPF (Open Shortest Path First) Protocol
• Networking Protocols, Ports, Standards, and Organizations What Does it All Mean?
• Network Gateways
• IPv6 Packet Fragmentation
• 14 Common Network Ports You Should Know

RSS Feed RSS Feed

Follow Stephen Bucaro Follow @Stephen Bucaro

Computer Networking Sections

Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2024 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268