easy trick, you have to add '/' to your source string:<br><br>rpcap://<a href="http://137.72.248.19:9898/" target="_blank">137.72.248.19:9898</a>/<br><br><br><br><div class="gmail_quote">2010/7/20 vishwesh jatala <span dir="ltr"><<a href="mailto:vishwesh_jatala@yahoo.com">vishwesh_jatala@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">
Hi,<br><br>I tried a simple program to list all the devices of the remote machine for eg.<br><br><br>IP Addr : 137.72.248.19<br>Port : 9898<br><br>FYI : Attaching a text file(<span style="font-weight: bold;">simple.txt</span>) which contains the code<br>
<br>and when I try to execute the program the output is (you see one error in bold text)<br><br>output:-----<br>
------------------------------------------------------------------------------------------------<br>
Enter the device you want to list:<br>
rpcap:// ==> lists interfaces in the local machine<br>
rpcap://hostname:port ==> lists interfaces in a remote machine<br>
(rpcapd daemon must be up and running<br>
and it must accept 'null' authentication)<br>
file://foldername ==> lists all pcap files in the give folder<br>
<br>
Enter your choice: rpcap://<a href="http://137.72.248.19:9898" target="_blank">137.72.248.19:9898</a><br>
<span style="font-weight: bold;">Error in pcap_findalldevs: getaddrinfo(): The specified class was not
found. (code 10109)</span><br>
------------------------------------------------------------------------------------------------<br>
here the 137.72.248.19 is the address of remote machine <br>
however it cannot find "getaddrinfo()" during run time<br><br><br>And also I tried executing the daemon : <br>c:\Winpcap>rpcapd.exe -b137.72.248.19 -p9898 -n<br><br>Still the issue remains the same....<br><br>
Can anyone help on how to overcome this ??<br><br>Thanks in advance,<br>Vishwesh<br><br><br></td></tr></tbody></table><br><br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
<br></blockquote></div><br>