easy trick, you have to add '/' to your source string:

rpcap://137.72.248.19:9898/



2010/7/20 vishwesh jatala <[email protected]>

> Hi,
>
> I tried a simple program to list all the devices of the remote machine for
> eg.
>
>
> IP Addr : 137.72.248.19
> Port  : 9898
>
> FYI : Attaching a text file(simple.txt) which contains the code
>
> and when I try to execute the program the output is (you see one error in
> bold text)
>
> output:-----
>
> ------------------------------------------------------------------------------------------------
> Enter the device you want to list:
> rpcap:// ==> lists interfaces in the local machine
> rpcap://hostname:port ==> lists interfaces in a remote machine
> (rpcapd daemon must be up and running
> and it must accept 'null' authentication)
> file://foldername ==> lists all pcap files in the give folder
>
> Enter your choice: rpcap://137.72.248.19:9898
> Error in pcap_findalldevs: getaddrinfo(): The specified class was not
> found. (code 10109)
>
> ------------------------------------------------------------------------------------------------
> here the 137.72.248.19 is the address of remote machine
> however it cannot find "getaddrinfo()" during run time
>
>
> And also  I tried executing the daemon :
> c:\Winpcap>rpcapd.exe -b137.72.248.19 -p9898 -n
>
> Still the issue remains the same....
>
> Can anyone help on how to overcome this ??
>
> Thanks in advance,
> Vishwesh
>
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> [email protected]
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to