Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Net::Pcap Filters and alarm()

by VinsWorldcom (Parson)
on Apr 09, 2014 at 20:13 UTC ( #1081718=note: print w/replies, xml ) Need Help??


in reply to Net::Pcap Filters and alarm() [SOLVED]

See Re: no timeout in Net::Pcap::Easy for a discussion and solution on timeouts using Net::Pcap. Includes working code. It may be of some help.

Replies are listed 'Best First'.
Re^2: Net::Pcap Filters and alarm()
by return0 (Acolyte) on Apr 09, 2014 at 23:04 UTC
    OMG write my own loop function! derp! why didn't i think of that?! :) Thank you, I will post back if I have success tonight. I can always count on your advice, Monks. <3
Re^2: Net::Pcap Filters and alarm()
by return0 (Acolyte) on Apr 10, 2014 at 00:58 UTC
    Thank you thank you thank you! :D I got it now. Instead of using the rabbit hole pcap_loop, I have my own sub routine that just goes through each packet that matches my pcap_filter. I kinda wish cpan were like wikipedia and we could contribute documentation! :S

    Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081718]
help
Chatterbox?
[shmem]: LanX: oh... now I have to figure out if this is good or bad news.
LanX bad day monks ?
[LanX]: hope you find sleep
[shmem]: LanX: which one?
[LanX]: the last
Discipulus yes a very bad day
[shmem]: grandola, vila morena
[shmem]: LanX: ah, that one. You'll get the bug reports also :P
[Discipulus]: upvote me! i'll make pm great again! ;=)
[shmem]: Discipulus reminds me of an irish saying: "I would guess a tomorrow can wait 'til this day is done" :-)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-04-29 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.