[Winpcap-users] pcap_findalldevs_ex hangs inside java process

E, Manivannan manie at ti.com
Fri Sep 11 09:28:02 PDT 2009


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<mailto:manie at ti.com>
To: winpcap-users at winpcap.org<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090911/51b5836d/attachment.htm 


More information about the Winpcap-users mailing list