<div>Hi, I solved it myself.</div> <div>I was facing problem setting the filter.</div> <div> </div> <div>Thanks & Regards,</div> <div>Chitra<BR><BR><B><I>Cristina Ruxandra Ionescu <fullmoon_2011@yahoo.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <STYLE type=text/css><!-- DIV {margin:0px;} --></STYLE> <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thank you, that was it, thank you very much<BR><BR>PS: Sorry all this came as a reply to someone else's post.... really really sorry...won't happen again<BR> <DIV> </DIV><SPAN style="FONT-FAMILY: times new roman,new york,times,serif"><SPAN style="FONT-WEIGHT: bold">Cri</SPAN></SPAN><SPAN style="COLOR: rgb(115,115,115); FONT-STYLE: italic"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></SPAN> <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new
york,times,serif"><BR><BR> <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">----- Original Message ----<BR>From: Gianluca Varenni <gianluca.varenni@cacetech.com><BR>To: winpcap-users@winpcap.org<BR>Sent: Thursday, March 13, 2008 4:50:27 PM<BR>Subject: Re: [Winpcap-users] Newbie facing problem in setting filter whilerunning pf.exe<BR><BR> <STYLE type=text/css>DIV { MARGIN:0px;} </STYLE> <DIV><FONT size=2>Cristina,</FONT></DIV> <DIV> </DIV> <DIV><FONT size=2>you probably forgot to define "WPCAP" and "HAVE_REMOTE" before including pcap.h or within the project properties.</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>The easiest way is perhaps this</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>#define WPCAP</FONT></DIV> <DIV><FONT size=2>#define HAVE_REMOTE</FONT></DIV> <DIV><FONT size=2>#include <pcap.h></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: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- Original Message ----- </DIV> <DIV style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> <A title=fullmoon_2011@yahoo.com href="mailto:fullmoon_2011@yahoo.com" target=_blank rel=nofollow ymailto="mailto:fullmoon_2011@yahoo.com">Cristina Ruxandra Ionescu</A> </DIV> <DIV style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> <A title=winpcap-users@winpcap.org href="mailto:winpcap-users@winpcap.org" target=_blank rel=nofollow
ymailto="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV> <DIV style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> Thursday, March 13, 2008 1:46 AM</DIV> <DIV style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> Re: [Winpcap-users] Newbie facing problem in setting filter whilerunning pf.exe</DIV> <DIV><BR></DIV> <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><SPAN style="COLOR: rgb(0,0,0)">Hello everyone,<BR><BR> I have managed to solve my problem the last time you helped me, but now I have stmbled accross another one. I have Winpcap installed on my computer the same time as Wireshark (ex Ethereal). I work in Visual C++ Express 2008 and whn I compile my small sniffer which uses pcap_open (and pcap_next and pcap_sendpacket, but they are fine for now ), I am left with one warning </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR:
rgb(0,0,191)"><BR><BR>>>...warning C4013: 'pcap_open' undefined; assuming extern returning int<BR><BR><SPAN style="COLOR: rgb(0,0,0)"></SPAN></SPAN><SPAN style="COLOR: rgb(0,0,191)"><SPAN style="COLOR: rgb(0,0,0)">I have had other silly warnings like scanf for a while telling me to define #define _CRT_SECURE_NO_DEPRECATE, because of C compiler changes I believe, but this warning , I do not know how to get rid of...can you help me?<BR><BR>thanks in advance,</SPAN></SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: rgb(0,0,191)"><SPAN style="COLOR: rgb(0,0,0)"></SPAN><BR></SPAN> <DIV> </DIV><SPAN style="FONT-FAMILY: times new roman,new york,times,serif"><SPAN style="FONT-WEIGHT: bold">Cri</SPAN></SPAN></DIV><BR> <HR SIZE=1> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. <A href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20" target=_blank rel=nofollow>Try it now.</A> <div></div><SPAN
style="BORDER-TOP: rgb(128,128,128) 1px solid; MARGIN: 8px 0px; OVERFLOW: hidden; WIDTH: 100%; BORDER-BOTTOM: rgb(212,208,200) 1px solid; HEIGHT: 2px; BACKGROUND-COLOR: black"></SPAN> <div></div>_______________________________________________<BR>Winpcap-users mailing list<BR>Winpcap-users@winpcap.org<BR><A href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target=_blank>https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR></BLOCKQUOTE><!-- kill --> <DIV><BR><BR>-----Inline Attachment Follows-----<BR><BR>_______________________________________________<BR>Winpcap-users mailing list<BR><A href="mailto:Winpcap-users@winpcap.org" ymailto="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</A><BR><A href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target=_blank>https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR></DIV></DIV><BR></DIV></DIV><BR> <HR SIZE=1> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
<A href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ">Try it now.</A>_______________________________________________<BR>Winpcap-users mailing list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE><BR><p> 
<!--2--><hr size=1></hr> Unlimited freedom, unlimited storage. <a href="http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Get it now</a>