On Fri, 22 Feb 2013 14:36:17 +0200, Adel Qodmani said:
Others have given some details on "how". A better question is "why".
Well, the why is the following:
I am trying to implement a new protocol that we've designed which works on top of the IP layer, so I am using ICMP messages to carry control information for the protocol.
Why using ICMP, it seemed natural since our protocol is a Network-layer protocol and ICMP is a control messages protocol.