<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>Hi all,</FONT></DIV>
<DIV><FONT face=Arial>I usually use my NAT router for communication and Winpcap
works fine.</FONT></DIV>
<DIV><FONT face=Arial>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.</FONT></DIV>
<DIV><FONT face=Arial>Can someone help please</FONT></DIV>
<DIV><FONT face=Arial>Thanks</FONT></DIV>
<DIV><FONT face=Arial>I. lesher</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> /* Retrieve the device list on the
local machine */<BR> if
(pcap_findalldevs_ex(PCAP_SRC_IF_STRING, NULL, &alldevs, errbuf) ==
-1)<BR> {<BR>
fprintf(stderr,"Error in pcap_findalldevs: %s\n",
errbuf);<BR>
exit(1);<BR> }<BR> <BR> /*
Print the list */<BR> for(d=alldevs; d;
d=d->next)<BR>
{<BR> printf("%d. %s", ++i,
d->name);<BR> if
(d->description)<BR>
printf(" (%s)\n",
d->description);<BR>
else<BR>
printf(" (No description available)\n");<BR>
}<BR></FONT></DIV></BODY></HTML>