On Nov 17, 2008, at 1:46 PM, Giovanni Venturi wrote:
To make the pcap_next/pcap_ex non blocking under Linux I use:
FD_ZERO(&m_fdset);
FD_SET(m_pcap_fd, &m_fdset);
m_fdtimeout.tv_sec = 0;
m_fdtimeout.tv_usec = CAP_READ_TIMEOUT*1000;
selRet = select(m_pcap_fd+1, &m_fdset, NULL, NU
On Nov 17, 2008, at 3:15 PM, Giovanni Venturi wrote:
just block told me that:
SIOCGIFHWADDR: No such device
I've checked a fix for this into the main and 1.0 CVS branches.
If I use NULL no block tell me that there is a problem. I got crash on
(FD_SET):
"Crash" meaning your program crashe
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto:
> On Nov 17, 2008, at 1:46 PM, Giovanni Venturi wrote:
> > To make the pcap_next/pcap_ex non blocking under Linux I use:
> >
> >FD_ZERO(&m_fdset);
> >FD_SET(m_pcap_fd, &m_fdset);
> >m_fdtimeout.tv_sec = 0;
> >m_fdtimeout.tv_use
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto:
> On Nov 17, 2008, at 3:15 PM, Giovanni Venturi wrote:
> > just block told me that:
> >
> > SIOCGIFHWADDR: No such device
>
> I've checked a fix for this into the main and 1.0 CVS branches.
>
Mmm. If you can... Can you send me a patch against
On Nov 19, 2008, at 9:43 AM, Giovanni Venturi wrote:
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto:
I've checked a fix for this into the main and 1.0 CVS branches.
Mmm. If you can... Can you send me a patch against 1.0.0 version?
I've attached it to this message.
Yes my program
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto:
> On Nov 19, 2008, at 9:43 AM, Giovanni Venturi wrote:
> > Alle mercoledì 19 novembre 2008, Guy Harris ha scritto:
> >> I've checked a fix for this into the main and 1.0 CVS branches.
> >
> > Mmm. If you can... Can you send me a patch against