Boost logo

Boost Users :

Subject: Re: [Boost-users] [Asio] Need help making a custom service
From: Bjorn Reese (breese_at_[hidden])
Date: 2015-03-10 09:53:55


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net