[Winpcap-users] Telling the difference between devices

Sam Roberts vieuxtech at gmail.com
Tue Nov 20 09:34:56 PST 2012


On Mon, Nov 19, 2012 at 9:44 AM, Joe Anello <joe.anello at roadrunner.com> wrote:
> I’m sure it is in the documentation, but I just can’t seem to find it.

Better to read the source.

> I have a Windows based system with 6 GigE ports (all based on the same Intel
> chips).  When I call pcap_findalldevs, it returns a list that contains 6
> IDENTICAL strings for the ports. Pcap_open_live expects me to pass it that
> identification string, but since they are all the same, how do I identify
> which of the 6 ports I want to open?

You mean in struct pcap_if, the .name fields are all the same, or the
.description fields?

Sam


More information about the Winpcap-users mailing list