I'm getting an error on socket bind in android . i'm not doing this
through NDK , but cross compiling for android. I'm using AF_UNIX. code
snippet below. Any Idea?
sockfd = socket(AF_UNIX, SOCK_STREAM, 0);
if (sockfd < 0)
{
printf("Error opening socket");
return -1;
Does a directory /data/local exist on the filesystem and do your program have
permissions to write to it?
On 15-May-2012, at 4:01 PM, NimeshChanchani wrote:
> I'm getting an error on socket bind in android . i'm not doing this
> through NDK , but cross compiling for android. I'm using AF_UNIX. c
Yes , the directory exists and I have permissions to write to it
--Original Message--
From: Suman Saraf
To: nimeshchanch...@gmail.com
Cc: android-porting
Subject: Re: [android-porting] Error on socket bind
Sent: May 15, 2012 4:22 PM
Does a directory /data/local exist on the filesystem and
Can you print the errno on bind failure? If you have a small program, just run
it via strace and see the return value for bind.
I ran your same program with a few includes etc. and it worked. I built it
statically on Linux (without NDK) and pushed it to an Android instance and it
worked without
Hello google folks,
Is there any plan to bring robust futexes support to bionic so that held locks
are cleared when processes die?
I am seeing surfaceflinger hanging on some such locks when some boot intent
receivers die (not so gracefully). I just wanted to know if anything like this
is plann
Sorry ... My fault!!!
It works... I was changing a different copy and building a different one .. The
socket was initially in /etc ... I changed it to /data/local but in a different
copy :p
Sent from BlackBerry® on Airtel
-Original Message-
From: Suman Saraf
Date: Tue, 15 May 2012 16
Venkat,
Can you tell what the problem is you try to solve or face
the no_console_suspend option only makes sense for the printk used in the
kernel drivers resume/suspend calls.
On Sat, May 5, 2012 at 3:39 AM, venkat k raju wrote:
> Hi sebastian.draus,
>
> i have tried
>
> setenv bootargs 'c