<div>
<div>> Yes (unless you make newDumpFile global and have<br>> PcapInstance::setDumpFile() just open the new file and set newDumpFile,<br>> and have the code in the capturing thread check for a non-null<br>> newDumpFile and, if it sees it's non-null, close dumpFile, set dumpFile
<br>> to newDumpFile, and null out newDumpFile).<br><br>> (This isn't exactly "wrapping" pcap - it's adding a new layer of<br>> functionality, namely a capture loop (presumably) and a function to<br>> switch output files.)
<br> </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yea... thats what i was going to do if it wasnt. Thanks!</blockquote></div><br>