title: Creating a valid TCP connection in Pcap.NET
body: <p>I'm trying to create a valid TCP connection to my test server in order to simulate a GET request. Hopefully I'm pretty close to a solution.</p>
  
  <p>Using Wireshark data from a real request, I've managed to get the <code>SYN</code> &amp; <code>SYN-ACK</code> when sending one package using <code>PacketCommunicator.SendPacket()</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/FEItQ.png" alt="enter image description here"></p>
  
  <p>However, I can't seem to make the <code>ACK</code> appear. </p>
  
  <p>The first packets is constructed using <code>EthernetLayer</code>, <code>IpV4Layer</code> and a <code>TcpLayer</code>, while the latter (currently non-working) uses the ones just mentioned + a <code>HttpRequestLayer</code>.</p>
  
  <p>The last packets <code>TcpLayer</code>'s <code>ControlBits</code> is set to <code>TcpControlBits.Acknowledgment</code>. Despite this, it's not showing up in WireShark like on my "real" GET requests.</p>
  
  <p>Hopefully I've posted the relevant part of the code. If not - please let me know.</p>