Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Windows Wireless and PCAP library functions.

by Anonymous Monk
on Jan 02, 2013 at 09:21 UTC ( #1011234=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011234]
[james28909]: check if it is a hash or an array ect with ref in one sub.
[james28909]: like all the subs calling get_data get_array get_ect, you could just use get_data. once you send the data to get_data, check if it is a hash or an array ect. and do functions for each, in one sub
[james28909]: that looks like it would be alot more work than just renaming the sub though lol
[Lady_Aleena]: james28909, did you even look at the subs?
[james28909]: yes
[Lady_Aleena]: And you see how the first two are vastly different than the third, right?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-05-24 04:56 GMT
Find Nodes?
    Voting Booth?