 In order to initiate a TCP connection, the client sends a TCP SYN packet to the server.In response, the server sends a TCP SYN+ACK packet back to the client.One of the values in this packet is a "sequence number", which is used by the TCP to reassemble the data stream.