I am working with a distributed application communicating over GPRS. I use UDP packets to send business data and ICMP pings to verify connectivity. And now I have a problem with calculating a traffic for which I will be charged by the provider. I have to consider following factors:
- UDP payload: that is obvious.
- UDP overhead: UDP header + IP header = 8 + 20 bytes.
- ICMP echo request without data: IP header + ICMP payload = 28 bytes.
- ICMP echo reply: as in 3.
Above means that for evey data packet I am charged for payload + 28 bytes and for every ping 56 bytes. Am I right or I am missing/misunderstanding something?