Does the web server support the entire HTTP request / response?
Just a quick question. I am creating a web application where C ++ communicates with a php script via HTTP requests / responses. The data given back and forth is pretty small ~ 36 bytes. But I plan to connect many computers, often communicate with the server. I did the math and I could have gigabytes of data transfer per month. This is not too much of a problem, but if the bandwidth included the request / response headers, the request size would be around ~ 560 bytes. This is about 16 times more than I planned ... That would be a lot. If anyone knew how hosts determine bandwidth and can share, that would be great. Thanks.
a source to share
Assuming the web host is running Apache, you can assume the module is being mod_bw
used to manage bandwidth (this is the standard). In this case, the requests are not part of the traffic being monitored, the only control over the requests is their quantity, they are not considered "bandwidth" although this is technically still there. Headers and frames can count, but
While you might want to look at the documentation, there doesn't seem to be much: https://svn.apache.org/repos/asf/httpd/sandbox/mod_bw/mod_bw.txt
a source to share