I want to write something which monitors internet usage and emails it to me. I know that there are plenty of these programs available for download but I am more interested in how it all works than actually using it. If anyone can give me some direction it would be much appreciated. Google yields a lot of commercial results, which are not very fruitful to this particular endeavor. Many thanks.