[Winpcap-users] missing usb adsl connection

ceo ceo at triplebit.com
Tue Dec 11 18:40:45 GMT 2007


No, I use http server and ftp client. 
I implemented the Winpcap code in a dll regular mfc application and I use explicit link.
I thought also that something in my main application, which implements the Http server may cause the problem so I tried to call the relevant code from the early beginning of the application life time, i.e. from the view constructor, but I got the same results. I tell all that hopefully that the extra information would help you to help me...
Thanks

I. lesher
  ----- Original Message ----- 
  From: Gianluca Varenni 
  To: ceo at triplebit.com ; winpcap-users at winpcap.org 
  Sent: Tuesday, December 11, 2007 7:58 PM
  Subject: Re: [Winpcap-users] missing usb adsl connection


  Are you using COM in your application?

  Have a nice day
  GV
    ----- Original Message ----- 
    From: ceo at triplebit.com 
    To: winpcap-users at winpcap.org 
    Sent: Tuesday, December 11, 2007 9:37 AM
    Subject: Re: [Winpcap-users] missing usb adsl connection


    Dear Mr. Gianluca Varenni,
    Here is our previous correspondence regarding missing interfaces by the function  pcap_findalldevs_ex. Following your advise I see that the sample application works fine and exposes all the valid interfaces but when I do it in my application I miss the USB ADSL connection. This happens even if I import the source code from the sample application instead of my own original code(of course, without modifying the include macro's - just the code itself).

    Can you farther help please?

    Regards
    I. lesher
      ----- Original Message ----- 
      From: Gianluca Varenni 
      To: ceo ; winpcap-users at winpcap.org 
      Sent: Sunday, December 02, 2007 3:16 AM
      Subject: Re: [Winpcap-users] missing usb adsl connection


      What does the sample application return?
      Are you running on Vista?

      Have a nice day
      GV
        ----- Original Message ----- 
        From: ceo 
        To: winpcap-users at winpcap.org 
        Sent: Saturday, December 01, 2007 6:07 AM
        Subject: [Winpcap-users] missing usb adsl connection


        Hi all,
        I usually use my NAT router for communication and Winpcap works fine.
        Trying to connect with usb adsl modem fails since the following code doen't see it - it sees just the Ethernet adapter.  I tryed with Ethereal and I could sniff the modem easily. This code is taken from the examples following the product.
        Can someone help please
        Thanks
        I. lesher

            /* Retrieve the device list on the local machine */
            if (pcap_findalldevs_ex(PCAP_SRC_IF_STRING, NULL, &alldevs, errbuf) == -1)
            {
                fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);
                exit(1);
            }
            
            /* Print the list */
            for(d=alldevs; d; d=d->next)
            {
                printf("%d. %s", ++i, d->name);
                if (d->description)
                    printf(" (%s)\n", d->description);
                else
                    printf(" (No description available)\n");
            }



------------------------------------------------------------------------


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



----------------------------------------------------------------------------


    _______________________________________________
    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/20071211/a89109f3/attachment.htm


More information about the Winpcap-users mailing list