Hello,
I am trying to implement a function using boost asio udpSocket, that waits until data is ready to be read, or waits until a timeout expires.
using asyc_read and a async_wait, I can do something similar, but I have to read the data. I would like to do the same without reading the data
This would allow a much easier use of the udpSocket class in many situations, but given the the udpSocket interface, I cannot figure out how to implement such a function, without manually buffering the data, and rewriting a sync_read function
best, Dd