Hello
How do I check if pcap handler is really free?
After pcap_close handle is not NULL since the following printf is not print
thanks
Nadav
pcap_close(handle);
if(handle == NULL) {
printf("handle is null\n");
}
--
הבלוג שלי:
http://nadavvin.com
___
On 20 June 2013 20:16, Gert Doering wrote:
> Hi,
>
> On Thu, Jun 20, 2013 at 07:44:00PM +0300, Nadav Vinik wrote:
> > After pcap_close handle is not NULL since the following printf is not
> print
> >
> > thanks
> > Nadav
> >
> > pcap_close(ha
On 20 June 2013 22:47, Guy Harris wrote:
>
> On Jun 20, 2013, at 12:36 PM, Nadav Vinik wrote:
>
> > Hoever if I change to pcap_close(&handle) I get the following error:
>
> Because code that passes a pointer to a pointer to a pcap_t, rather than a
> pointer to
On 20 June 2013 23:52, Guy Harris wrote:
>
> On Jun 20, 2013, at 1:05 PM, Nadav Vinik wrote:
>
> >
> >
> > On 20 June 2013 22:47, Guy Harris wrote:
> >
> > On Jun 20, 2013, at 12:36 PM, Nadav Vinik wrote:
> >
> > > Hoever if I c