<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=uli@el02itb.org href="mailto:uli@el02itb.org">Uli Muhammad Aulia</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 06, 2007 10:43
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Re: Capture
packet from one interface,send to another interface</DIV>
<DIV><FONT size=2></FONT><BR></DIV>
<DIV>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></DIV></BLOCKQUOTE>
<DIV><FONT size=2>It's a linking problem, not a compile problem. Did you add
wpcap.lib in the libraries for you project? What compiler are you using? Which
version of WinPcap?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT size=2></FONT> </DIV>
<DIV>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>
<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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>