Glam Prestige Journal

Bright entertainment trends with youth appeal.

The ping packet is a type of ICMP packet. Is there any relation between ICMP with TCP? In other words, can we guarantee their arrival in the network? I want to know if ICMP packets in the network are TCP, UDP, both or none of them?

2 Answers

Is there any relation between ICMP with TCP

Not directly. ICMP is IP protocol 1, TCP is IP protocol 6. Other common IP protocols are 17 (udp) and 47 (gre).

In other can we guaranty their arrival in the network

Typically ICMP is not sent within any type of framework that uses acknowledgements and timeouts like TCP does. So the answer here is no.

I want to know ICMP packets in the network is tcp or udp or which one or non of them?

None of them. It behaves mostly like udp but it's not designed to transport data. There is no "link" or session created with ICMP, it's typically a very simple request-response, if that. You could "hack" ICMP to trade data over echo ICMP packets if you really wanted to.

2

None of them – they're sent directly over IP. ICMP packets are mainly used for network control, i. e. between routers or ping and many other uses.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy