[Winpcap-users] Newbie facing problem in setting filter whilerunning pf.exe

chitra .R chitrar25 at yahoo.co.in
Fri Mar 14 00:34:17 GMT 2008


Hi, I solved it myself.
  I was facing problem setting the filter.
   
  Thanks & Regards,
  Chitra

Cristina Ruxandra Ionescu <fullmoon_2011 at yahoo.com> wrote:
        Thank you, that was it, thank you very much

PS: Sorry all this came as a reply to someone else's post.... really really sorry...won't happen again
   
Cri  

  ----- Original Message ----
From: Gianluca Varenni <gianluca.varenni at cacetech.com>
To: winpcap-users at winpcap.org
Sent: Thursday, March 13, 2008 4:50:27 PM
Subject: Re: [Winpcap-users] Newbie facing problem in setting filter whilerunning pf.exe

  DIV {  MARGIN:0px;}      Cristina,
   
  you probably forgot to define "WPCAP" and "HAVE_REMOTE" before including pcap.h or within the project properties.
   
  The easiest way is perhaps this
   
  #define WPCAP
  #define HAVE_REMOTE
  #include <pcap.h>
   
  Have a nice day
  GV
    ----- Original Message ----- 
  From: Cristina Ruxandra Ionescu 
  To: winpcap-users at winpcap.org 
  Sent: Thursday, March 13, 2008 1:46 AM
  Subject: Re: [Winpcap-users] Newbie facing problem in setting filter whilerunning pf.exe
  

  Hello everyone,

  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 

>>...warning C4013: 'pcap_open' undefined; assuming extern returning int

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?

thanks in advance,
   
Cri

  
---------------------------------
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.   
  
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
  

-----Inline Attachment Follows-----

_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users






  
---------------------------------
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


       
---------------------------------
 Unlimited freedom, unlimited storage. Get it now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080314/217b5939/attachment-0001.htm


More information about the Winpcap-users mailing list