Hi @Pcapplusplus maintainer,
Even I am not sure about the Winpcap/Npcap.
However, as long as each thread uses its own libpcap handle,
the thread safety issue should be taken care. Is this correct?
Could it be something like,
allow creating different PcapLiveDevice objects for those platforms (and versions) which supports them?
An application may want to see different kinds of traffic flowing through an interface.
So, it would make sense to have each thread read packets with its own libpcap handle and
maybe its own filter. Don't you think this is a real need?
As far as I see it, PcapLiveDevice is already doing this (it maintains one handle of libpcap),
So by allowing creation of multiple PcapLiveDevice objects, they each manage their own libpcap handle.
Let me know what you think.
Regards
Chetan