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


On Thu, Oct 11, 2001 at 03:41:36PM +0530, Anagha Anil Bhopale wrote:
> 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.

Why pass 6 as the protocol? My linux man page tcp(7) says the protocol
should be 0.

       Andrew


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