This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
About TCP/IP loopback interface
- To: ecos-discuss at sources dot redhat dot com <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] About TCP/IP loopback interface
- From: windy <windy_yuan at 263 dot net>
- Date: Mon, 16 Apr 2001 14:38:12 +0800
Hi, my board hasn't ethernet lan adapter. I want to test ecos TCP/IP functions with loopback interface.But after I build ecos with networking package and common ethernet support package but without low-level ethernet driver package support.
In my app,I found bind a socket always fail . Function in_pcbbind in in_pcb.c will check in_ifaddr.tqh_first != 0, because in_ifaddr.tqh_first in my enviroment is always equal zero, then this function will return EADDRNOTAVAIL.
What should I configure the ecos to enable loopback interface?
Windy