CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Posts
    13

    Question real time network usage statistics monitoring/capture

    Hi,

    I would appreciate any advice from experience from the community regarding the following challenge I've given myself - i.e. any pointers re best approach / direction here?


    Requirements

    1. Allow collection / real-time-monitoring of network usage from a users Windows PC to a specific set of IP addresses (or DNS names), on a per application/process running on the PC point of view, differentiating between "up" and "down" traffic. For example: show how much network traffic has been used (sending to the configured set of IP addresses/DNS names) for each PC process/application for the day so far.

    2. Solution should run on the PC that the user is utilising (i.e. not require setup of software on a separate PC)

    3. For Windows PC (e.g. XP, Vista, Windows 7)

    4. Shouldn't cause noticeable performance hit for the users (e.g. slow down internet browsing)

    5. Would want the data collected stored on the PC in a manner that a GUI program (e.g. C# WPF app) could access for displaying to user.

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: real time network usage statistics monitoring/capture

    You might want to look at libpcap as your backend for this project:

    http://sourceforge.net/projects/libpcap/

  3. #3
    Join Date
    Aug 2007
    Posts
    13

    Re: real time network usage statistics monitoring/capture

    thanks - I see there is a WinPCap too - I assume I'd probably go for WinPCap?

  4. #4
    Join Date
    Feb 2005
    Posts
    2,160

    Re: real time network usage statistics monitoring/capture

    Sorry, that's the one I meant. libpcap is for *nix.

  5. #5
    Join Date
    Aug 2007
    Posts
    13

    Re: real time network usage statistics monitoring/capture

    oh...I've read in other forums WinPCap wouldn't handle the requirement I have to measure/monitor usage per process/application...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured