[Winpcap-users] pcap_findalldevs_ex'

ocramclimb ocram.climb at tiscali.it
Mon Oct 3 07:59:33 GMT 2005


yes, you are right!

the remot client i want to contact is a hardware from third-part, i know its ip address and the port it uses
can you tell me what i can do so?

thank you very much
nice day

Marco Ferrario
  ----- Original Message ----- 
  From: Gianluca Varenni 
  To: winpcap-users at winpcap.org 
  Sent: Sunday, October 02, 2005 7:38 PM
  Subject: Re: [Winpcap-users] pcap_findalldevs_ex'


  Hi.

  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?

  Have a nice day
  GV

    ----- Original Message ----- 
    From: ocramclimb 
    To: winpcap-users at winpcap.org 
    Sent: Friday, September 23, 2005 2:41 AM
    Subject: [Winpcap-users] pcap_findalldevs_ex'


    Good Morning.

    I want to send some packets to a remote adapter connected to my PC.
    I want to retrive its name to pass to the function 'pcap_open'.
    So I want to have the list of the remote adapters connected, but I have some problem using the function 'pcap_findalldevs_ex'.

    My PC addressed 10.0.0.11 is connected to a host addressed 10.0.0.12 that offers a service on port 5060.

    This is the code:

    /* Retrieve the device list from the remote machine */
    if (pcap_findalldevs_ex("rpcap://10.0.0.12/5060", NULL, &alldevs, errbuf) == -1)
    {
        fprintf(stderr,"Error in pcap_findalldevs_ex: %s\n", errbuf);
        exit(1);
    }

    This is the error message:

    "Error in pcap_findalldevs_ex: 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)"

    Wath is the problem, please?

    Thank you

    Marco Ferrario


----------------------------------------------------------------------------


    _______________________________________________
    Winpcap-users mailing list
    Winpcap-users at winpcap.org
    https://www.winpcap.org/mailman/listinfo/winpcap-users



------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20051003/99f99768/attachment.htm


More information about the Winpcap-users mailing list