10 Mar
2015
10 Mar
'15
1:53 p.m.
On 03/09/2015 09:34 PM, Kyle Edwards wrote:
Notice the use of reactor::read_op. I've done a little more digging through the Boost.Asio code, and it looks like, for this application, I need to use reactor::except_op instead. Is there a simple class/function that does this? Or will I have to implement it myself?
A possibility could be to wrap the file descriptor in a udp::socket (or possibly your own derived from basic_datagram_socket) and use async_receive(null_buffers) with the message_out_of_band flag set. Never tried it myself though.