open socket failed: Permission denied when application to run a native C function.

by Terence » Thu, 14 May 2009 01:25:03 GMT


Sponsored Links
 Hi

I port a tool in native C and builed a executable file or a library,
and the executable can work successfully in console (Alt + F1).

Then I creat a SimpleJNI to run the executable or library,
when I click the SimpleJNI icon, it will occure a error message:
:socket err=Permission denied

Is the user not a root such that can not open socket in native C
(Permission denied),
Is there any way to solve this problem ?

Thanks

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. udah pake manup NEXDESIRE v1.0r2...and now app2sd gue blom jalan kaenya..

as subject.
tidur ah
teler bow!

*td ngoprek sambil ntn justice league crisis on two earth hasil
donlotan...*halah jd abg lg**

-- 
"Indonesian Android Community [id-android]" 

2. (TabActivity) How to switch tab from within a "sub" activity



http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 

3. What does the prefix 'm' stand for ?

4. Testing problem with ActivityInstrumentationTestCase2<T> -- Error when trying to access Activity under testing

5. Opening main.xml causes Eclipse to crash out

6. How does the imeOptions of EditText work

7. Scrollbar Thumb Color