-2

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?

user207421
  • 305,947
  • 44
  • 307
  • 483
Karim Michel
  • 23
  • 1
  • 6

2 Answers2

0

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.

Mircea
  • 10,216
  • 2
  • 30
  • 46
0

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.

user207421
  • 305,947
  • 44
  • 307
  • 483