This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Ecos-Socket Error
- To: Anagha Anil Bhopale <anagha dot bhopale at wipro dot com>
- Subject: Re: [ECOS] Ecos-Socket Error
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 11 Oct 2001 14:27:01 +0100
- Cc: "eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- References: <3BC57058.99A8F16B@wipro.com>
Anagha Anil Bhopale wrote:
>
> Hello,
>
> I'm using the latest version of eCos from the CVS.
> The Target is synthetic Linux.
> eCos has been build properly using gcc 2.95
> The error is:
> Socket error: No error
> bind error: Can't assign requested address
>
> I've have used
> iSocket_Descriptor=socket(PF_INET,SOCK_STREAM,6)
> to create the socket.
>
> Please help me find the solution
You haven't brought your ethernet interfaces up.
http://sources.redhat.com/ecos/docs-latest/tcpip/tcpip.3.html#pgfId=1132625
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine