title: Boost ASIO async_connect succeeds when it should fail, why?
body: <p>I have a server application in which I accept only one client with <code>boost::asio::ip::tcp::acceptor</code> and <code>async_accept</code>.</p>
  
  <p>I run the client application and successfully connect using a <code>boost::asio::ip::tcp::socket</code> and the <code>async_connect</code> member function.</p>
  
  <p>Then I make the client crash (CTRL-ALT-DEL).</p>
  
  <p>If I restart the client application, and try to reconnect, it succeeds...</p>
  
  <p>Even though I do not redo an <code>async_accept</code> on the server side.</p>
  
  <p>How is this possible?</p>
  
  <p>EDIT:</p>
  
  <p>If the server application is not running, the <code>async_connect</code> fails as it should.</p>