title: How to stop socat from quitting?
body: <p>I am using <code>socat</code> for windows as a client to tunnel DNS over SSH, it works perfectly until the <code>ssh</code> connection dies or becomes temporarily unavailable - when this happens the <code>socat</code> windows client terminates and requires restarting.</p>
  
  <p>I am using the following command on windows client:</p>
  
  <pre><code>socat -s udp-recvfrom:53,reuseaddr,bind=127.0.0.1,fork tcp:127.0.0.1:5377
  </code></pre>
  
  <p>Does anyone know a way to prevent the socat client from quitting when the ssh connection becomes unavailable?  The help file suggests the <code>-s</code> switch solves this but it doesn't.</p>