<!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.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>pcap_findalldevs_ex lists remote adapters (using the
"rpcap://..." string) *if* you have WinPcap remote capture daemon installed and
started on the remote system. I think that the service you have on port 5060 of
the remote machine is some service you developed, not the remote capture daemon,
isn't it?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ocram.climb@tiscali.it
href="mailto:ocram.climb@tiscali.it">ocramclimb</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, September 23, 2005 2:41
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users]
pcap_findalldevs_ex'</DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT
size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Good Morning.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </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 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="Courier New" size=2></FONT> </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="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is the code:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV>/* Retrieve the device list from the remote machine */<BR>if
(pcap_findalldevs_ex("rpcap://10.0.0.12/5060", NULL, &alldevs, errbuf) ==
-1)<BR>{<BR> fprintf(stderr,"Error in pcap_findalldevs_ex:
%s\n", errbuf);<BR> exit(1);<BR>}<BR></DIV>
<DIV><FONT face=Arial size=2>This is the error message:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </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?
connect() failed: Impossibile stabilire la connessione. Risposta non corretta
della parte connessa dopo l'intervallo di tempo oppure mancata risposta
dall'host collegato. (code 10060)"</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Wath is the problem, please?</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Courier New"></FONT><FONT
face="Courier New"></FONT><FONT face="Courier New"></FONT><FONT
face="Courier New"></FONT><BR>Marco Ferrario</FONT></DIV></FONT></DIV>
<P></P><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>