<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Good Morning.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I want to send some packets to a remote adapter 
connected to my PC.</FONT></DIV>
<DIV><FONT face=Arial size=2>I want to retrive its name to pass to the function 
'pcap_open'.</FONT></DIV>
<DIV><FONT face=Arial size=2>So I want to have&nbsp;the list of the remote 
adapters connected, but </FONT><FONT face=Arial size=2>I have some problem using 
the function '<FONT face="Times New Roman" 
size=3>pcap_findalldevs_ex</FONT>'.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My PC addressed 10.0.0.11 is connected to a host 
addressed 10.0.0.12 that offers a service on port 5060.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is the code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>/* Retrieve the device list from the remote machine */<BR>if 
(pcap_findalldevs_ex("rpcap://10.0.0.12/5060", NULL, &amp;alldevs, errbuf) == 
-1)<BR>{<BR>&nbsp;&nbsp;&nbsp; fprintf(stderr,"Error in pcap_findalldevs_ex: 
%s\n", errbuf);<BR>&nbsp;&nbsp;&nbsp; exit(1);<BR>}<BR></DIV>
<DIV><FONT face=Arial size=2>This is the&nbsp;error message:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>"Error in pcap_findalldevs_ex: </FONT><FONT 
face=Arial size=2>Is the server properly installed on 10.0.0.12?&nbsp; connect() 
failed: Impossibile stabilire la connessione. Risposta non corretta della parte 
connessa dopo l'intervallo di tempo oppure mancata risposta dall'host 
collegato.&nbsp; (code 10060)"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Wath is the problem, please?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Marco 
Ferrario</FONT></DIV></FONT></DIV></BODY></HTML>