Liang Yang wrote:
In libpcap, we can use "any" as the device name to capture packets from any devices.
In libpcap *ON LINUX* you can use "any" as the device name to capture from all devices.
On other UN*Xes the "any" device isn't supported.
But Windows XP does not support "Any" device and I do not want to ask the user to select which device to capture packets. How to do this using WinPCap?
You'd have to capture on all of the devices separately. At least with WinPcap 3.1 beta (and perhaps 3.0), you could open several devices and capture on all of them with a single loop using WaitForMultipleEvents() or MsgWaitForMultipleEvents(), using handles you get from pcap_getevent().
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================