Utility Ping: How dose PING work?
A Ping utility is essentially a system administrator's tool that is used to see if a computer is operating and also to see if network connections are intact.
Ping uses the Internet Control Message Protocol (ICMP) Echo function which is detailed in RFC 792. A small packet of information containing an ICMP ECHO_REQUEST is sent through the network to either a particular IP address or a domain name. This packet contains 64 bytes - 56 data bytes and 8 bytes of protocol reader information.
The computer that sent the packet then waits (or 'listens') for a ECHO_REPLY packet from the specified IP address. The ping program then evaluates this reply, and a report is shown. You can check several things with the ping program: can you reach another computer, how long does it take to bounce a packet off of another site. The time taken to Send and Receive a Data Packet is calculated in Milliseconds.
But it is the "LISTENING" activity that is the key to the answer to your question. At some point ping has to realize that a response is not going to be forthcoming, and the error report is issued. This specific sequence: send to IP an echo request; open and wait for a response for a set period of time; close connection and report the results is what allows it to report what were for each IP in the pingpath what results obtained.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.