I'm  not familiar with XPCOM. Does it use COM internally under Windows?

Have a nice day
GV

  ----- Original Message ----- 
  From: E, Manivannan 
  To: [email protected] 
  Sent: Tuesday, September 22, 2009 7:16 AM
  Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside java process


  Guys,

        I tried to create a test application to reproduce the issue. I used JNI 
and called my test bench which intern opened the dll & called 
pcap_findalldevs_ex. In the test application pcap_findalldevs_ex didn't hang 
and everything worked fine. Later I spoke to my colleagues and figured out that 
we use XPCOM to interface between Java API & C++ debugger. I haven't created a 
test application using XPCOM yet & would take some time for me. 

  Meanwhile does anyone aware of pcap_findalldevs_ex hang issue while using 
XPCOM on command line?

   

  Regards,                                                                      
                                       

  Mani

   

   


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

  From: [email protected] 
[mailto:[email protected]] On Behalf Of Mark Bednarczyk
  Sent: Monday, September 21, 2009 10:21 PM
  To: [email protected]
  Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside java process

   

   Mani,
    we use pcap_findalldevs_ex in our java project and we have no problem 
within java VM. There are thousands of users using our project and it has never 
come up as a problem. Our internal tests with findalldev_ex work as well. Its 
an open source project, so you are welcome to take a look at the source and how 
we use it.

  http://jnetpcap.com

  here is the link to the relavent C source file that implements the 
findalldevs_ex as a java wrapper. The findalldevs_ex code starts around line 
750.

  Cheers,
  mark...

  > -----Original Message-----
  > From: [email protected]
  > [mailto:[email protected]] On Behalf Of E, Manivannan
  > Sent: Thursday, September 17, 2009 6:17 AM
  > To: [email protected]
  > Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside
  > java process
  >
  > I don't see the "pcap_findalldevs_ex" hang issue on Vista and
  > it work properly. We want this application to run on XP as
  > our machines are predominantly XP.
  >
  > 
  >
  > Regards,
  >
  > Mani
  >
  > 
  >
  > ________________________________
  >
  > From: [email protected]
  > [mailto:[email protected]] On Behalf Of
  > Gianluca Varenni
  > Sent: Wednesday, September 16, 2009 3:06 AM
  > To: [email protected]
  > Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs inside
  > java process
  >
  > 
  >
  > Does the same issue happen on Vista?
  >
  > 
  >
  > Have a nice day
  >
  > GV
  >
  >       ----- Original Message -----
  >
  >       From: E, Manivannan <mailto:[email protected]> 
  >
  >       To: [email protected]
  >
  >       Sent: Friday, September 11, 2009 9:55 AM
  >
  >       Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs
  > inside java process
  >
  >       
  >
  >       I am using Window XP with SP2.
  >
  >       
  >
  >       Regards,
  >
  >       Mani
  >
  >       
  >
  >      
  > ________________________________
  >
  >
  >       From: [email protected]
  > [mailto:[email protected]] On Behalf Of
  > Gianluca Varenni
  >       Sent: Friday, September 11, 2009 10:19 PM
  >       To: [email protected]
  >       Subject: Re: [Winpcap-users] pcap_findalldevs_ex hangs
  > inside java process
  >
  >       
  >
  >       Which version of Windows are you using?
  >
  >       
  >
  >       Have a nice day
  >
  >       GV
  >
  >               ----- Original Message -----
  >
  >               From: E, Manivannan <mailto:[email protected]> 
  >
  >               To: [email protected]
  >
  >               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: [email protected]
  > [mailto:[email protected]] On Behalf Of
  > Gianluca Varenni
  >               Sent: Friday, September 11, 2009 9:14 PM
  >               To: [email protected]
  >               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:[email protected]> 
  >
  >                       To: [email protected]
  >
  >                       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
  >                       [email protected]
  >                      
  > https://www.winpcap.org/mailman/listinfo/winpcap-users
  >
  >              
  > ________________________________
  >
  >
  >               _______________________________________________
  >               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
  >
  > 



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


  _______________________________________________
  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