I have a need to parse about 10000 pcap files. I need to read them in sequentially to perform analysis, however, i get a too many open file descriptors error.
I am currently setting the pcapObject to None, and creating a new pcap object on each file. Is tis the correct way to do it, or do I need to persist the pcap object,.
I was unable to find a corresponding close_offline function for the pcap object.
Log in to post a comment.