[Winpcap-users] pcap_findalldevs_ex hangs inside java process

Gianluca Varenni gianluca.varenni at cacetech.com
Fri Sep 11 09:48:44 PDT 2009


Which version of Windows are you using?

Have a nice day
GV
  ----- Original Message ----- 
  From: E, Manivannan 
  To: winpcap-users at winpcap.org 
  Sent: Friday, September 11, 2009 9:28 AM
  Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside java process


  I am not using java wrapper. I am using the winpcap lib inside C++ code which is built as a dll. Eclipse env is used as IDE mainly for user interface. When used in with eclipse GUI, the pcap_findalldevs_ex doesn't hang but hangs when execute on command-line.

   

  Regards,

  Mani

   


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

  From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
  Sent: Friday, September 11, 2009 9:14 PM
  To: winpcap-users at winpcap.org
  Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside java process

   

  Are you using any of the jave wrapper already available for WinPcap?

   

  Have a nice day

  GV

    ----- Original Message ----- 

    From: E, Manivannan 

    To: winpcap-users at winpcap.org 

    Sent: Friday, September 11, 2009 1:06 AM

    Subject: [Winpcap-users] pcap_findalldevs_ex hangs inside java process

     

    Hi,

         I am using the Winpcap lib in eclipse (Java) environment and "pcap_findalldevs_ex" work fine return all the devices but when I use eclipse directly Java in command line-mode i.e. in command prompt then "pcap_findalldevs_ex" hangs, never return whether it failed or passed. I suspected the "Remote Capture Service" is not getting started, so I tried enabling the service manually & tried but still the "pcap_findalldevs_ex" hangs. Any clues on what's going wrong here?

     

    Winpcap Version - 4.0.2

     

    Regards,

    Mani

     


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

    _______________________________________________
    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/20090911/0dd9859a/attachment-0001.htm 


More information about the Winpcap-users mailing list