This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
about sendto and recvfrom functions
- From: "albert prasetyo" <prasetyoalbert at gmail dot com>
- To: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 5 Dec 2007 15:59:47 +0800
- Subject: [ECOS] about sendto and recvfrom functions
Hi all;
I am currently trying to test my AT91RM9200-based board using
Networking test application such as ping_test.c etc. However, up to
this moment, when I am monitoring the network traffic using wireshark,
I can only find ARP packets, whereas the ICMP packet supposed to be
sent through sendto() function in ping_test cannot be detected.
Therefore it is not unusual that the program is 'hang' when recvfrom
function is executed.
I am wondering why the ICMP packets never go through until
eth_drv_send that is the ethernet driver. When I did ping manually
using ping command in Redboot, everything is perfectly fine (all ICMP
packets can received successfully by the host). I compile the
application using the 'net' packages for AT91RM9200 Development Board
Any suggestion will be appreciated.
Thanks;
Albert P
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss