[Winpcap-users] only when ethereal is ON

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Jul 7 15:48:59 GMT 2008


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 



More information about the Winpcap-users mailing list