This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Ecos-Socket Error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]