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.
transport protocol control the transportation of data and choose the best way for transmit ion.
Port Number
UDP and ports 67 and 68.
TCP
This is usually done because of the requirements of the data transfer. For example, FTP (file transfer protocol) will use TCP for transport because we want to make sure the data was transferred reliably. DNS will use UDP because we don't need the handshaking or connection based transport.
"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.
ping uses the ICMP protocol.
ICMP
HTTPS is not a separate protocol, but refers to use of ordinary HTTP over an encrypted Secure Sockets Layer (SSL) or Transport Layer Security (TLS) connection. So it really does not have a place per say, because it's not a protocol it's a hybrid. Or you can say it originates in the Application layer and then finishes in the Presentation layer.
It uses ICMP ECHO requests, aka ping.
Network Control Protocol is uses to identify the Network layer protocol used in the packet
In a standard networking protocol stack, the transport layer provides reliable transfer, fragmentation and de-fragmentation (when necessary), error detection and (within limits) recovery. Being located between the network layer (3) and the session layer (5) within the OSI network model, the transport layer uses services of both adjacent layers to facilitate uplink and downlink of the respective protocol data units.Many networking protocols do not strictly follow the OSI networking model, and may thus employ a different interpretation of transport layer.