[Winpcap-users] only when ethereal is ON
Umesh Chandra Sahoo
USahoo at ixiacom.com
Tue Jul 8 05:49:41 GMT 2008
Thanks for your reply.
Can you tell me who releases that pointer?
Is that the programmer's responsibility or is that released by the
winpcap library itself?
Can I get any sample code or documentation to test this.
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: Monday, July 07, 2008 9:19 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] only when ethereal is ON
the pointers returned by pcap_next_ex must NOT be released, and they are
- the next call to pcap_next_ex/pcap_loop/pcap_dispatch
- you close the capture instance of pcap_close
(whatever happens first)
Have a nice day
----- Original Message -----
From: "Umesh Chandra Sahoo" <USahoo at ixiacom.com>
To: <winpcap-users at winpcap.org>
Sent: Monday, July 07, 2008 6:44 AM
Subject: [Winpcap-users] only when ethereal is ON
> Can any one tell me how to clear the memory taken by pcap_next_ex().
> --> What is the lifespan of that variable
> lifespan of that variable
> --> Is that ponter automaticallyreleases?
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
Winpcap-users mailing list
Winpcap-users at winpcap.org
More information about the Winpcap-users