Thread: retrieving number of socket being used/open & total bandwidth

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    114

    retrieving number of socket being used/open & total bandwidth

    how do i retrieve number of socket being used/open & total bandwidth from my computer??
    what API to use?

    from experience, there are 2 main things from a program that slow a computer's network connection down
    - too many sockets used by a program, espically adware
    - too much bandwidth hogged by a program, espically adware

    correct??

    hence i am trying to find these 2 info on the computer and display them out in a nice stats format

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Goto the command line prompt

    Type
    netstat

    Then type
    netstat /?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program giving errors
    By andy bee in forum C Programming
    Replies: 5
    Last Post: 08-11-2010, 10:38 PM
  2. C Program that counts total prime number?
    By exe101 in forum C Programming
    Replies: 2
    Last Post: 04-07-2009, 01:18 AM
  3. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  4. Printing total of 1's in binary number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 02:50 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM