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

Cristina Ruxandra Ionescu fullmoon_2011 at yahoo.com
Thu Mar 13 21:55:29 GMT 2008


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







      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080313/bcd686f7/attachment.htm


More information about the Winpcap-users mailing list