 After this, after DNS reply is received by the laptop, the response contains the IP address of the website, so in order to access the website, what the laptop does is it initially establishes a TCP connection because HTTP works on top of TCP. If we can open this packet here, we can see that the HTTP client makes a connection to the server which is actually done by the device trying to make a TCP connection and we can see that here also port numbers are assigned, here the source port number is 1031 and destination port number is 80, which is the standard port number for HTTP services. The laptop is trying to make a start a TCP connection. In order to do that, it has to set some parameters, here we can see that the device sets the connection state to sin cent, TCP accepts a window size up to 65535 bytes, the information sent in the segment are the sequence number is 0, the acknowledgement number is 0 and the data length is 24, since this is the very first packet that is being sent and we can also see the TCP packet that is being sent here, the source number and the destination port numbers, here if we see the first packet for TCP connection establishment from laptop has reached the hotel server and we can see that here the source port is 1032 and destination port is 80, we can see that the device receives a TCP sin segment on server port 80 with some device segment information, now the device that is the server sets the connection state to sin received and then it sends a reply to the laptop as follows and it sends a TCP sin act segment back to the laptop. We have got the first response to our TCP packet, let us see what is there inside, here the device receives a TCP sin plus acknowledgement segment on the connection to 1.6.2.10 on port 80, this was the IP address of the website that we were trying to connect and we have received a sin plus ACK segment and in the received segment we have the sequence number as 0, acknowledgement number 1 and the data length as 24 and TCP segment has the expected pure sequence number, so it means that the TCP connection is successful and because of the successful connection TCP sends a TCP ACK segment and this the segment information in this segment are the sequence number here would be 1, acknowledgement number would be 1 and the data length is 20 and we can also see that the source port here is 80 and destination port is 1031 for the incoming packet and for the outgoing packet the source port is 1031 and destination port is 80. If we compare the path travelled by the TCP packets we can actually see that the packets follow the same path because TCP is a connection oriented protocol. This packet here shows the final part of the three-way handshake for connection establishment in TCP, here I am looking at a packet received by the server of the hotel whose website we are accessing, the device receives a TCP acknowledgement segment on the connection to 1.6.1.2 on port 1031 and it has received some segment information like the sequence number, acknowledgement number etc. and the TCP segment has the expected pure sequence number, so the connection is successful and this device sets the connection state to established. Now that TCP path has been set from the client to the server and the path is established and now the other protocol that is the HTTP which is working on top of TCP can work.