$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] promiscuous mode?
From: Anthony Foiani (tkil_at_[hidden])
Date: 2010-09-30 11:56:34
Greetings --
On Wed, Sep 29, 2010 at 7:59 PM, Ryan McConnehey <mccorywork_at_[hidden]> wrote:
> If winpcap or some such library is installed on a machine is it
> possible to have asio read from the Ethernet card in promiscuous
> mode?
OvermindDL1 wrote:
> Is possible, but would need to build a new backend for it to read
> from the winpcap service instead of the normal TCP stack.
Ryan McConnehey <mccorywork_at_[hidden]> writes:
> What is the level of difficulty?
It might be less efficient, but a quick implementation might be to use
a helper app that just reads packets sequentially (e.g., tcpdump),
then have the ASIO-based program process the output from that helper
asynchronously.
t.