[Winpcap-users] How to retrieve IP address associated with an Interface

Loris Degioanni loris.degioanni at gmail.com
Tue Jul 11 15:23:34 GMT 2006

ahsan askari wrote:

> Hi,
> Could anyone please tell me how to retrieve IP address associated with 
> an interface.

Look at the documentation of pcap_findalldevs() or 
pcap_findalldevs_ex(), or the iflist example in the developer's pack.

> Also, please tell whether I can use VMware to simulate two interfaces. 
> Actually, I have a desktop with one ethernet NIC. I want two NICs on it 
> just to simulate a two interface router. Could I do that with VMWARE and 
> winpcap ?

I've used VMWare with wimpcap several times without any problems. Some 
users reported issues in capturing the traffic exchanged by two virtual 


> thank you very much
> Ahsan
> ------------------------------------------------------------------------
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users

More information about the Winpcap-users mailing list