[Winpcap-users] pcap file pointer

Guy Harris guy at alum.mit.edu
Fri Jan 14 17:33:28 PST 2011


On Jan 14, 2011, at 11:55 AM, Brian Panneton wrote:

> I am aware that pcap_file is deprecated, however I am in need of getting the actual file pointer to the beginning of each packet. Is there some other way to access this pointer? 

Unfortunately, no - there's no pcap_tell() call, for example, and something such as that would be needed (as the documentation indicates, pcap_file() is deprecated because there's no guarantee that its return value could be used, so the ftell() call would have to be done inside WinPcap).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110114/a82f3f39/attachment.html>


More information about the Winpcap-users mailing list