We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, everybody! Is anybody knows the ability to make ICMP echo request (ping) using RL-TCPnet library???
thanks in advance.
I want to send ping from my LPC2378 to external IP.
Well I quote the "uIP" (The open-source uIP TCP/IP stack) documentation which I think uses about the same functionality as the Keil stack does.
"The ICMP protocol is used for reporting soft error conditions and for querying host parameters. Its main use is, however, the echo mechanism which is used by the "ping" program. The ICMP implementation in uIP is very simple as itis restricted to only implement ICMP echo messages. Replies to echo messages are constructed by simply swapping the source and destination IP addresses of incoming echo requests and rewriting the ICMP header with the Echo-Reply message type. The ICMP checksum is adjusted using standard techniques (see RFC1624). Since only the ICMP echo message is implemented, there is no support for Path MTU discovery or ICMP redirect messages. Neither of these is strictly required for interoperability; they are performance enhancement mechanisms."
Source: www.sics.se/.../uip-1.0-refman.pdf
As of 24-Nov-2009, the facility certainly wasn't available. See:
http://www.keil.com/forum/docs/thread15944.asp
thank you all