Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: my first packet sniffer in perl

by marto (Cardinal)
on Jun 29, 2009 at 14:22 UTC ( [id://775689]=note: print w/replies, xml ) Need Help??


in reply to my first packet sniffer in perl

$to_ms=100; #wait for 1 sec $pcap=Net::Pcap::open_live($dev,$snaplen,$promisc,$to_ms);

100 miliseconds is a tenth of a second, not one second.

Martin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://775689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found