
28 Apr
2010
28 Apr
'10
12:34 p.m.
Regarding Daytime.3 - An asynchronous TCP daytime server: [1] There is no way to stop this server! I can kill it under Linux but then it aborts instead of exiting, which is in general not good. == My solution == Add a global quit event variable. Handle the QUIT signal by setting the quit event. Test for the quit event within the event loop. Thoughts? == References == [1] http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/tutorial/tutdaytime...