title: Boost ASIO: How can a server know if a client is still connected?
body: <p>I am using <code>boost::asio</code> for a server/client application. The server only accepts one connection at a time. I am wondering what is the best way for the server to verify if the client is still connected. </p>
  
  <p>The purpose of this is that I would like to be able to know if the client has crashed, so that I can restart listening to new connection attempts.</p>