[BOOST::ASIO] How can I catch disconnect event from remote side ?
29 Jul
2008
29 Jul
'08
2:20 p.m.
Hi Dear all. How can I catch the disconnect event from remote side in boost::asio? Thanks
29 Jul
29 Jul
4:31 p.m.
New subject: [BOOST::ASIO] How can I catch disconnect event from remote side ?
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?
5953
Age (days ago)
5953
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
Ken zhang