Fw: [Winpcap-users] missing usb adsl connection

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Dec 3 16:34:39 GMT 2007


----- Original Message ----- 
From: ceo at triplebit.com 
To: Gianluca Varenni 
Sent: Sunday, December 02, 2007 10:08 AM
Subject: Re: [Winpcap-users] missing usb adsl connection


Dear Sir,
Please follow my answers...


  What does the sample application return?

  The function pcap_findalldevs_ex returns ZERO ( I hope that's what you asked for).

  Are you running on Vista?

  The OS is XP SP2.

  Thanks 
  I. lesher

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


More information about the Winpcap-users mailing list