Boost Users :
Subject: Re: [Boost-users] [asio] using ASIO with pcap_get_selectable_fd?
From: Igor R (boost.lists_at_[hidden])
Date: 2009-05-13 14:09:22
> It seems like that if you add a descriptor to an io_service, you *have*
> to read or write some bytes to/from it, as opposed to just waiting for
> it to be ready (as libpcap wants). Is there a way to add an fd to an
> ASIO io_service and *not* read from it, but only call a routine when its
> ready to read?
Probably, the following example can help you:
"Simulation of a third party library that wants to perform read and
write/ operations directly on a socket"
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