public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about sendto and recvfrom functions
@ 2007-12-05  7:59 albert prasetyo
  0 siblings, 0 replies; only message in thread
From: albert prasetyo @ 2007-12-05  7:59 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-05  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-05  7:59 [ECOS] about sendto and recvfrom functions albert prasetyo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).