uclinux-dev  

Re: [uClinux-dev] socket binding error

kailash toshniwal
Wed, 30 Apr 2008 08:38:11 -0700

I don't think that another copy is running because I have disabled the line from 'inittab' that executes boa automatically. I manually run this boa program just once still the program exits.

--- On Mon, 4/28/08, Glenn Henshaw <[EMAIL PROTECTED]> wrote:
From: Glenn Henshaw <[EMAIL PROTECTED]>
Subject: Re: [uClinux-dev] socket binding error
To: "uClinux development list" <uclinux-dev@uclinux.org>
Date: Monday, April 28, 2008, 1:33 AM


On 27-Apr-08, at 2:01 PM, kailash toshniwal wrote:

Hi,
I  am trying to set the boa web server on EDOSK2674 board. When I run boa on my board it fails. I found that the following line (if condition) in boa.c becomes true
if (bind(server_s, (struct sockaddr *) &server_sockaddr,sizeof(server_sockaddr)) == -1);
so it executes next line
 die(NO_BIND);
and then program dies (exits).

I don't know why binding for server is not done? Can anyone please tell me the solution.

Thanks

  The socket is probably already in use. Is there another copy running already?

-- 
Glenn Henshaw                     Logical Outcome Ltd.         



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev