title: Boost asio run vs work (ambiguity) - what's the purpose of the work class?
body: <p>As you can see here in this example <a href="https://www.boost.org/doc/libs/1_35_0/doc/html/boost_asio/tutorial/tutdaytime6.html" rel="nofollow noreferrer">UDP server</a>, the run method will keep the application running forever. (tested)</p>
  <p>So there is no need to use the work class as mentioned in the documentation</p>
  <p>From boost documentation:
  The work class is used to inform the <code>io_service</code> when work starts and finishes. This ensures that the <code>io_service</code> object's <code>run()</code> function will not exit while work is underway, and that it does exit when there is no unfinished work remaining.</p>