A ping command is used to check whether the host is alive or not. A ping command is used when you want to check if the host can send or receive packets. The protocol that is responsible for Ping command is ICMP.
An echo-request is a sort of ICMP (Internet Control Messaging Protocol). This protocol is used to check and control the IP packet traffic.For example, ping and traceroute packets are echo requests.
It uses ICMP ECHO requests, aka ping.
TCP\IP protocol is run by ping i.e Ping 132.125.12.1 -t will ping the status of device whether healthy or unhealthy The "ping" command is an ICMP (internet Control Management Protocol) control packet. Many websites disallow this type packet, so beware.
"Ping uses the Internet Control Message Protocol (ICMP) Echo function which is detailed in RFC 792"http://www.activexperts.com/activsocket/tutorials/ping/So the short answer is that it uses the ICMP protocol.
HTTP is mainly a pull protocol, where the client (such as a web browser) initiates requests for data from a server. The server then responds to these requests by sending the requested data back to the client. HTTP does not inherently support push capabilities, although techniques like server-sent events and WebSockets can be used to achieve push functionality.
ping uses the ICMP protocol.
tcp/ip
Assuming IPv4 ICMP. Ping uses IP for transport. Ping in itself is an "Echo Request", which is a function of the ICMP protocol. The IP Packet will carry the ICMP protocol from end-to-end. ICMP has a protocol number of 1, so the "Protocol" field in the IPv4 header will contain "1" as a reference to the ICMP payload. For IPv6, ICMPv6 is used, and the transport will be IPv6.
ICMP
ICMP
Global Catalog
Ping uses ICMP, and therefore resides at layer 3 (Network layer)