I am currently creating an application designed to work in an embedded system connected to a cellular data card. I have been informed of some plans with low data from several operators, and our application generates only about 5 bytes per second, lending itself to such plans.
However, I cannot understand that the overhead of TCP / IP (about 40 bytes, give or receive) is included in the calculation for using the data. Since I need real-time data, I turned off the Nagle algorithm. This means that every 5-byte packet I send, I send a new header. If the TCP / IP headers are taken into account in the data usage price, this will overshadow the amount of data that I send.
source share