Lili
unread,Apr 15, 2009, 10:43:27 PM4/15/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
All,
I have a question about socket usage permission on android
platform:
Recently, we found, for a native process, if it isn't root , it
can't bind socket successfully. Our code looks like below:
ret = bind (socketFd, (struct sockaddr *) &addr, SUN_LEN
(&addr) );
we found it always return fail if the process isn't a root. As
the process is launched by a application service, is there anyone know
what we should do? Is it a limitation of android? And if yes, could
anyone explain in more details on the limitaion?
Best regards
lili