[Winpcap-users] Memory Management with pcap_next_ex()

Stanislav Tsanev skt304 at lehigh.edu
Tue Aug 19 02:09:47 GMT 2008


I am using pcap_next_ex() to read packets from a capture file. Who is 
responsible for managing the memory that the two pointers I get back 
from the function call point to? Is that memory reused as is the case 
when I use a callback? If that's the case, how long is it guaranteed to 
persist? If not, how do I free it?

I was looking for documentation on that but couldn't find anything.

thank,
slavy



More information about the Winpcap-users mailing list