boost::asio acceptor::cancel() behavior.
25 Feb
2010
25 Feb
'10
6:38 a.m.
Hi all, I'm looking at the documentation for acceptor::cancel(), which states that it will: "Cancel all asynchronous operations associated with the acceptor.", then in the detailed description states: "This function causes all outstanding asynchronous connect, send and receive operations to finish immediately, and the handlers for cancelled operations will be passed the |boost::asio::error::operation_aborted| error. " The wording is unclear to me. What are send and receive operations associated with the acceptor? Are these reads and writes performed using sockets that were connected through this acceptor, or just the network overhead required to perform accepts? Thanks, Jivan
5375
Age (days ago)
5375
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jivan Amara