GET request on HTTP after 3-way handshake
<p>I want to make a program that interacts with a server such as google and makes a 3-way handshake with him. After that i want to send a GET request to find the html part of the page.
When do i need to insert the GET request?
Thank you.</p>

<p>That's the 3-way handshake i made:</p>

<pre><code>sport = random.randint(1024,65535)

# SYN     
ip=IP(src='192.168.23.131',dst='81.17.241.142')
SYN=TCP(sport=sport,dport=443,flags='S',seq=1000)
SYNACK=sr1(ip/SYN)

# ACK          
ACK=TCP(sport=sport, dport=443, flags='A', seq=SYNACK.ack + 1, ack=SYNACK.seq + 1)
send(ip/ACK)
</code></pre>