15 Sep
2010
15 Sep
'10
9 a.m.
my call to boost::asio::ip::tcp::acceptor::async_accept() immediately calls the passed accept handler to report error 995: "The I/O operation has been aborted because of either a thread exit or an application request". This occurs even when I run the service under the same account as the logged-in user.
Maybe it's just a coincidence that the issue appears in service mode only. Ensure that the thread where you call async_accept() doesn't exit until the handler gets called.