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]
Other format: [Raw text]

Re: server_test dosn't work


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


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