in reply to Windows Wireless and PCAP library functions.

Thought may be i should post the question again.

There was no need :) some network card (wifi card) drivers don't allow packet capture, its still very common on windoes, nothing you can do about it, pcap won't work with it

  • Comment on Re: Windows Wireless and PCAP library functions.

Replies are listed 'Best First'.
Re^2: Windows Wireless and PCAP library functions.
by Simbha (Initiate) on Jan 02, 2013 at 18:35 UTC
    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