[Winpcap-users] Problems with Tutorial "Filtering the traffic"

amruta tilaye amruta.tilaye at yahoo.com
Wed Mar 15 19:42:14 GMT 2006


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 can 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060315/f36b91d6/attachment.htm


More information about the Winpcap-users mailing list