This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: server_test dosn't work
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Roland Caßebohm <roland dot cassebohm at visionsystems dot de>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 08 Jan 2002 17:55:29 +0000
- Subject: Re: [ECOS] server_test dosn't work
- Organization: Red Hat UK Ltd.
- References: <200201081725.g08HPXg31178@hhlx01.visionsystems.de>
Roland Caßebohm wrote:
>
> I have now a i82559 ethernet card and use redboot on a floppy.
> This works fine but. Also I can upload an program with gdb and run it.
>
> Now I want to run the "server_test" program from
> "packages/net/tcpip/current/tests":
> First: shouldn't this line
> local.sin_port = ntohs(7734);
> be
> local.sin_port = htons(7734);
> ?
Yes you're right! Shows how few of our customers who request network stack
support have big-endian targets evidently. I'll fix it.
> After loading and starting the program it gets its ip-address from a
> dhcp-server and I can ping this ecos station.
> But I can't connect with a telnet client to the port 7734.
I assume you mean it gives connection refused rather than anything else.
I'm afraid I don't know what it could be straight away. This has worked
before....
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