[Winpcap-users] Packet Capture on Multiple Interfaces

Bryan Kadzban bryan at kadzban.is-a-geek.net
Fri Dec 2 17:39:51 GMT 2005

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

[1] http://www.winpcap.org/docs/docs31/html/group__wpcapfunc.html#ga50

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winpcap.org/pipermail/winpcap-users/attachments/20051202/62ea6777/attachment.pgp

More information about the Winpcap-users mailing list