ping a get request code example
Example: ping related to echo
The Ping utility uses the echo request,
and echo reply messages within the Internet Control Message Protocol (ICMP),
an integral part of any IP network.
When a ping command is issued,
an echo request packet is sent to the address specified.
When the remote host receives the echo request,
it responds with an echo reply packet.