[Winpcap-users] Problems with Tutorial "Filtering the traffic"
Gianluca Varenni
gianluca.varenni at cacetech.com
Wed Mar 15 20:12:17 GMT 2006
Uhm, the error tells me you are writing a managed c++ application (BTW, a managed C++ MFC application, quite interesting).
I suggest you to read this FAQ
http://www.winpcap.org/misc/faq.htm#Q-29
Have a nice day
GV
----- Original Message -----
From: amruta tilaye
To: winpcap-users at winpcap.org
Sent: Wednesday, March 15, 2006 11:42 AM
Subject: RE: [Winpcap-users] Problems with Tutorial "Filtering the traffic"
hey what are you using to run your programs?
are you using Visual Studio.NET if yes? which application?
I have this problem running the turorial:"Interpreting the packets"
I'm using MFC apllication and getting following error:
"An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module.
Additional information: Could not load type pcap from assembly try, Version=1.0.2264.37898, Culture=neutral, PublicKeyToken=null."
I think it can be because of some linking problem. Can anyone guide me plsssss....I'm totally new to pcap...
thanks,
Amruta
Benjamin Amaudric <benjamin.amaudric at hotmail.fr> wrote:
I ca! n make a capture with filters now!!
Thank you for your help!
Like you said me, I changed adhandle by fp and I ignore this part of code in Set the filter
// set the filter
if (pcap_setfilter(fp, &fcode) < 0)
{
fprintf(stderr,"\nError setting the filter.\n");
}
/* Free the device list */
// pcap_freealldevs(alldevs);
// return -1;
Thank you and see you later
----------------------------------------------------------------------------
MSN Messenger : dialoguez gratuitement de PC à PC ! _______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
------------------------------------------------------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
------------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060315/3f762173/attachment-0001.htm
More information about the Winpcap-users
mailing list