This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
can't get a network connection via accept
- From: michael shiloh <michael at magrittesystems dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 20 Feb 2002 19:21:18 -0800 (PST)
- Subject: [ECOS] can't get a network connection via accept
hello,
target: x86, redboot
host : x86, linux
tools : about 3 weeks old
ecos : about 3 weeks old
gdb connection: serial
network card: intel etherpro (82559)
i'm trying to get the network tests to work.
i've turned on a lot of debugging, and i can
see successful calls to the i82559 drivers
to test and then initialize the board,
then in fact configuration via dhcp takes
place properly; i get a valid IP address,
and my gateway and domain are set properly.
so i know the board is capable of getting
to the network.
then i load and run the simple network tests.
i've tried most of them, e.g. server_test.c,
which is very simple. it creates a socket,
binds it to any IP address, port 7734, then
calls accept and listen.
at this point i attempt to connect to my
target over the network, via :
telnet 192.168.2.86 7734
it is in listen that it seems to hang, and
this is the case for all the tests i have
run.
any ideas?
thanks,
michael
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss