470,815 Members | 1,272 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Process multiple pcap files at once

Hi all,
I'm writing a program using libpcap, and I have multiple pcap files in a folder that I want to capture.

I currently have

handle = pcap_open_offline("/data/traffic/pcap1.pcap", errbuf");

which works fine since pcap_open_offline() takes in a filename. However, I want to process multiple pcap files from the directory /data/traffic/ at once. Is there a way to do that?

Thank you.

Regards,
Rayne
Nov 19 '08 #1
0 1413

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by billiejoex | last post: by
5 posts views Thread by Tony Gahlinger | last post: by
2 posts views Thread by Jeffrey Palermo, MCAD.Net | last post: by
1 post views Thread by amc river | last post: by
3 posts views Thread by Marcin Kalicinski | last post: by
reply views Thread by Astan Chee | last post: by
reply views Thread by Michael Matthews | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.