The SYN flag is a one-bit TCP header control flag used to begin a connection and synchronize sequence numbers. TCP sets it in the first segment of the three-way handshake. section 22.2.1
Follow the TCP connection-establishment sequence:
- The initiating host sends a segment with SYN set. section 22.2.1
- The responding host returns a segment with SYN and ACK set. section 22.2.1
- The initiating host sends an ACK segment, completing the handshake. section 22.2.1
PC1 connects to SRV1
PC1 sends SYN, SRV1 replies SYN-ACK, and PC1 sends ACK. These three establishment segments carry no encapsulated data; they prepare the connection for later exchange. section 22.2.1
