http://www.perlmonks.org?node_id=1011331


in reply to Re: Windows Wireless and PCAP library functions.
in thread Windows Wireless and PCAP library functions.

I tried with Wired ethernet connection instead of wireless. I see the same results as WiFi referred earlier. I could not retrieve network/mask numbers for Ethernet adapter too. The wireshark is working fine on both Ethernet and WiFi connections. Able to sniff packets just by selecting. Wireshark Interface details match with the output of findalldevs(). Where as lookupdev() incase of Net::Pcap returns the first \Device\... and not the active device. Irrespective of the output of lookupdev(), the $net & $mask should read all devices network numbers and netmasks. Thanks Simbha