
29 Jul
2008
29 Jul
'08
10:31 a.m.
What do you mean by disconnect event? I'm not sure you can detect disconnection without trying to send/receive something over the socket, but if you issued async_XXX function providing your completion handler, then it will be called with the appropriate error_code, upon disconnection. 2008/7/29, Ken zhang <kennir@gmail.com>:
Hi Dear all. How can I catch the disconnect event from remote side in boost::asio?