[Winpcap-users] Packet Capture on Multiple Interfaces
Gianluca Varenni
gianluca.varenni at cacetech.com
Fri Dec 2 18:02:34 GMT 2005
Hi.
The right function is WaitForMultipleObjects, and not
WaitForMultipleEvents...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/waitformultipleobjects.asp
Have a nice day
GV
On Fri, Dec 02, 2005 at 06:21:34PM +0530, Bhuvanes V wrote:
> I got the following error
>
> undefined reference to pcap_gethandle ,
> undefined reference to WaitforMultipleEvents.
You're not using the right function for the first error -- there is no
pcap_gethandle. According to the WinPcap API docs [1], you need to be
using pcap_getevent instead.
For the second error, C is case-sensitive. You need to be calling
WaitForMultipleEvents, not WaitforMultipleEvents. The F needs to be
uppercase.
[1] http://www.winpcap.org/docs/docs31/html/group__wpcapfunc.html#ga50
----- Original Message -----
From: "Bryan Kadzban" <bryan at kadzban.is-a-geek.net>
To: <winpcap-users at winpcap.org>
Sent: Friday, December 02, 2005 9:39 AM
Subject: Re: [Winpcap-users] Packet Capture on Multiple Interfaces
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
More information about the Winpcap-users
mailing list