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 change to pcap_close(&handle) I get the following error:
> >
> > Be
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 change to pcap_close(&handle) I get the following error:
>
> Because code that passes a pointer to a pointer to a pcap_t, r
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 a pcap_t, to pcap_close() is errone
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 a pcap_t, to pcap_close() is erroneous code.
You cannot arrange that libpcap somehow ma
Hi,
On Thu, Jun 20, 2013 at 10:36:27PM +0300, Nadav Vinik wrote:
> On 20 June 2013 20:16, Gert Doering wrote:
> >
> > 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
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(handle);
> > if(handle == NULL) {
>
> In C, this
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(handle);
> if(handle == NULL) {
In C, this will never ever change the value of "handle", unless
pcap_close()
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
___