uclinux-dev  

Re: [uClinux-dev] socket binding error

Glenn Henshaw
Wed, 30 Apr 2008 08:38:43 -0700


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
_______________________________________________
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