Hi again,<br><br>For the past few hours I've been searching for the answers myself. Luck, I found somethings in this mailing list archive. So, considered all of my previous question already answered. Thanx.<br><br>Now, I got another problem. I want to capture packet from multiple interface. From the archives, I know that I have to use pcap_getevent and WaitForMultipleObject (at least that's what I know from this:
<a href="http://www.winpcap.org/pipermail/winpcap-users/2005-June/000078.html">http://www.winpcap.org/pipermail/winpcap-users/2005-June/000078.html</a>)<br><br>When I built the program, I got an error saying: error LNK2001: unresolved external symbol _pcap_getevent
<br><br>What should I do to solve this problem?<br>Is there any file to include beside pcap.h for pcap_getevent to work?<br>or is there any other way beside using pcap_getevent and WaitForMultipleObject? <br><br>the program I wanted to build is just to capture all packet incoming from all available interfaces.
<br><br><br><br>Regards,<br><br><br>Uli<br><br><br><br><div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername">Uli Muhammad Aulia</b> <<a href="mailto:uli@el02itb.org">uli@el02itb.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I'm very new to winpcap. And since I'm also new to programming world, that makes me a total newbie here :D
<br><br>There are few things I would like to ask. Here we go.<br>1. How to open more than one interface at the same time? is it enough just by calling pcap_open_live as much as the number of interfaces?
<br>2. How do I make sure that all the devices are open at the same time?<br>3. Still in the case of multiple interfaces, how to send packet(s) to a specific interface? also, how to send packet(s) to all interfaces?<br clear="all">
<br>Really need some help here.<br><br><br>Regards,<br><span class="sg"><br>Uli<br>
</span></blockquote></div><br><br>