[Winpcap-users] only when ethereal is ON
Umesh Chandra Sahoo
USahoo at ixiacom.com
Tue Jul 8 05:49:41 GMT 2008
Hi Gianluca,
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.
Regards,
Umesh
-----Original Message-----
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
Hi,
the pointers returned by pcap_next_ex must NOT be released, and they are
valid until
- 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
GV
----- 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
> Hi,
> 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?
>
> Regards
> Umesh
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list