Are datagrams a protocol or not?
Is "Ping" (protocol ICMP) used in an IP DATAGRAM? Or is it using other protocols, such as TCP or UDP?
How do you know the message "Reply" the way back?
Why the Tel number stays the same?

- 305,947
- 44
- 307
- 483

- 23
- 1
- 6
-
Don't use code formatting for text that isn't code. – user207421 Jan 14 '17 at 01:10
2 Answers
https://en.wikipedia.org/wiki/IPv4#Protocol
Datagrams are basically the packets that go back an forth over the network at IP level. Each of these packets can specify a protocol. You can have TCP, UDP, ICMP, etc. (see https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers)
So to answer your question, yes the protocol for datagrams is basically IP. You can have higher level protocols that run over IP such the one above. See https://en.wikipedia.org/wiki/Internet_protocol_suite
Ping uses the ICMP protocol.

- 10,216
- 2
- 30
- 46
-
-
1No. the IP protocol uses datagram (i.e. packets) to exchange information. read on IP and TCP/IP – Mircea Oct 13 '15 at 01:42
-
-
the head of ICMP = the head of Protocol IP and the data protocole ICMP != data protocole IP yeah ? @Mircea – Karim Michel Oct 13 '15 at 02:04
-
1ICMP is the body of IP. go through the wikipedia article to understand the TCP/IP stack model and how things are glued together – Mircea Oct 13 '15 at 02:08
-
hahaaha thanx yopii , the Last question ! What features found in ICMP ? – Karim Michel Oct 13 '15 at 02:12
Are datagrams a protocol or no?
'Datagram' is the name of the unit of transmission in the UDP protocol.
Is "Ping" ( protocol ICMP ) used in a IP DATAGRAM?
The question doesn't make sense. It would make more sense to say that the ICMP protocol is transmitted via IP packets.
Or is it using other protocols, such as TCP or UDP ?
ICMP is a protocol: you said so yourself; and it is layered over the IP protocol.

- 305,947
- 44
- 307
- 483