This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: tcp_lo_test.c query
- From: Gary Thomas <gthomas at redhat dot com>
- To: Kaustubh Purandare <kaustubh_purandare at rediffmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 07 Mar 2002 06:49:05 -0700
- Subject: Re: [ECOS] tcp_lo_test.c query
- References: <20020307130512.8594.qmail@mailweb16.rediffmail.com>
On Thu, 2002-03-07 at 06:05, Kaustubh Purandare wrote:
> Hi,
>
> The tcp_lo_test.c displays the following result after
> executing on synthetic linux platform.
>
> Start TCP server - test
> TCP SERVER: Hello eCos network
> Start TCP client - test
> client:started
> TCP SERVER connection from 0.0.0.0
> SERVER : Client is alive. You may continue ....
> PASS:<server returned OK>
> EXIT:<done>
>
> I understand that it runs a loop back test so the address
> displayed should be 127.0.0.1 and not 0.0.0.0
>
> Is there a bug in the test?
The test checks that a connection can be made *to* a server
on the loopback address. The message you see is where the
connection came *from*. Since I don't see any explicit
binding on the source address, 0.0.0.0 seems like the right
value.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss