-2

Since no ICMP error message is generated in response to an ICMP error message, how are the errors in errorneous ICMP messages detected, or is the message discarded?

Jay Kominek
  • 8,674
  • 1
  • 34
  • 51
  • If you send to a connected UDP socket and the target UDP port isn't open, the sending application will get an ICMP UNREACHABLE error. So the premiss of your question is false. – user207421 May 10 '15 at 08:04

1 Answers1

0

If error messages were generated in response to error messages, you could end up with a loop. It's more important to ensure loops and traffic storms aren't created, so bad ICMP messages are just ignored.

Jay Kominek
  • 8,674
  • 1
  • 34
  • 51