Calculation of charged traffic in GPRS network
Posted
by TyBoer
on Stack Overflow
See other posts from Stack Overflow
or by TyBoer
Published on 2009-01-27T16:13:40Z
Indexed on
2010/05/01
4:07 UTC
Read the original article
Hit count: 411
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?
© Stack Overflow or respective owner