Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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]
[oiskuu]: ... getlogin refers to tty owner; if you close STDIN, then getlogin returns undef. I get undef in my shell (running under X)
[tye]: Then there is a more persistent big of data similar to getlogin(). I don't believe even daemonizing drops it. So you can tell services that were started at boot time from those started by a person.
[tye]: I'll have to look into that later. getlogin() suites my current needs.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-06-23 19:22 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.