Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - antares

#1
Routing and Switching / ICMP header (pinging)
January 28, 2020, 12:07:35 AM
Dear forum memebers,

I am absolutely new here... would you kindly help me with the following question:

My question is about ICMP -  Internet Control Message Protocol. As it is known there are many ICMP types: type 0 is "echo reply" - our common ping, type 14 is timestamp reply.
So when an ICMP  packet is sent over the network - depending on the ICMP type which is mentioned in there (in ICMP header)  - the corresponding action happens from host computer either ping is requested or lets say timestamp reply.

So my question is how does a host computer (ICMP signal recipient computer) knows what to do when receives the ICMP header. Where the instruction is written that when the host PC receives ICMP message /  header for pinging (with type 0 in protocol field) to send a reply... or to send a timestamp reply (if type 14 is specified in ICMP header protocol section).


Thanks and Regards