title: Read and write to the same netcat tcp connection
body: <p>Say I write to a netcat connection:</p>
  
  <pre><code>tail -f ${file} | nc localhost 7050 | do_whatever | nc localhost 7050
  </code></pre>
  
  <p>what happens here is that we have two socket connections, to do some request/response. But that's not ideal for a few reasons.</p>
  
  <p>What I am looking to do is reuse the same connection, to read from and write to.</p>
  
  <p>Does anyone know how I can reuse just one netcat connection?</p>