What will happen when we do ping. How the ICMP messages are sent and
received.

I want to know which icmp functions get called when we ping some
machine.

Thanks

05-06-2008, 06:20 PM

unix

Re: icmp request message

On May 6, 6:36*am, "prashant.khade1...@gmail.com"
<prashant.khade1...@gmail.com> wrote:[color=blue]
> Hi,
>
> I am new to networking. I have few doubts.
>
> What will happen when we do ping. How the ICMP messages are sent and
> received.
>
> I want to know which icmp functions get called when we ping some
> machine.[/color]

Ping is actually called "ICMP Echo." You should read RFC 792, page 14.
ICMP runs directly over IP, so it is neither TCP nor UDP.