[Winpcap-users] Sniffing every tot seconds..
ashish yadav
ashish_frnds at yahoo.co.in
Tue Feb 28 03:39:15 GMT 2006
hi francesco...
what i can suggest is that see the documentation of option read_timeout in pcap_open function..and write a timer program to repetedly call that function..
also ensuring that the function has successfully returned after each call , or this will give errorneous results..if u got any more problem ..feel free to ask.
bye
ashish
"Francesco Tabbita (IT)" <ingtabby at infinito.it> wrote:
Hi to all! I must sniff traffic for 2-3 seconds every 10 seconds.....that is: sniff for 3 seconds....wait 10 seconds...sniff for 3 seconds...wait 10 seconds... and so on..i didn t found on documentation a way to sniff only for a period of time... how could i do it? for periodic action i ll use a timer...
Thanks!!
Francesco
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060228/6b457996/attachment.htm
More information about the Winpcap-users
mailing list