HTTP traffic meter

This is a discussion on HTTP traffic meter within the Windows Programming forums, part of the Platform Specific Boards category; Hi! My boss gets irritated when my HTTP traffic gets over 400 Mbytes/month , so I'm about to write a ...

  1. #1
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463

    HTTP traffic meter

    Hi!

    My boss gets irritated when my HTTP traffic gets over 400 Mbytes/month , so I'm about to write a tool which measures my network traffic. I searched for such tools on the net, but they are not really what I need, as they usually measure the whole network traffic, not only the HTTP downloads.

    So I'd need some help to start my project (e.g. which API-s should I use to monitor my traffic through our proxy server).

    Any help would be welcome!

    Thank you in advance.

    Have a nice CODE!

  2. #2
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Ok, I've found something on codeproject:
    http://www.codeproject.com/internet/trafficwatcher.asp

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    I use IPTraf on our internet gateway machine. I monitored my own traffic this month just to see how much I use in a typical month, and found out that it was top of the pile with just under 3gb of http traffc, and 7gb of other traffic! Now I now I surf the web, but I didn't think I downloaded that much!

  4. #4
    That Creepy Network Guy DeepBlackMagic's Avatar
    Join Date
    Feb 2003
    Posts
    265
    If your running a REAL webserver like APACHE, there are MOD_THROTTLE and MOD_BANDWIDTH that allow you to fine tune (and throttle if you so desire). You can use MRTG (multi-router traffic grapher) and it does alot more than just routers. And finally you could use WEBALIZER. It can tell you based on file size, and hits to files, the total amount transfered. The first 2 only run on apache, the second two run on just about anything. Im sure you could even find a winblows port of them if you were stuck with an IIS box (A malware magnet). Your boss cares about 400mb? Who gives a coders butt about 400 mb? Im paying 75 cents (Yes its Cogent, but my clients wouldnt know good routing either way) per gig of traffic, and i have servers doing 800+ gig per month. Ill loan you a dollar a month for all your hits lol. Good luck, beware of managements ignorance. (He is probablly mad because your paying quite a bit more than you should be for bandwidth)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. monitor Http traffic
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 08-01-2008, 12:39 AM
  2. Http traffic from IE
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 07-29-2008, 08:54 AM
  3. Error stop Http Listener
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 06-04-2008, 03:14 AM
  4. C# HTTP request/response
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-02-2008, 07:00 AM
  5. Writing all HTTP requests from a website to a log file
    By goomyman in forum C# Programming
    Replies: 1
    Last Post: 07-29-2005, 10:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21