Hi,

I just updated to pcap 0.6.2, and it seem the behavior of
the to_ms agument passed to pcap_open_live has changed.

In my application, pcap_dispatch never return...
here are some sample code :

[...]
dev->pd = pcap_open_live(dev->name, config.snaplen, 1, 1000, err);

[...]
ret = pcap_dispatch(dev->pd, 1, dev->p_handler, NULL);


Thanks for your help.

-- 
Yoann Vandoorselaere | - Windows  Where do you want to go today?
MandrakeSoft         | - MacOS    Where do you want to be tomorrow?
                     | - Linux    Are you coming, or what?  -- Bill Maidment
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to