
29 Jul
2008
29 Jul
'08
4:31 p.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
Hi Dear all. How can I catch the disconnect event from remote side in boost::asio?