retrieving number of socket being used/open & total bandwidth

This is a discussion on retrieving number of socket being used/open & total bandwidth within the Networking/Device Communication forums, part of the General Programming Boards category; how do i retrieve number of socket being used/open & total bandwidth from my computer?? what API to use? from ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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-20-2009, 11:37 PM
  4. Printing total of 1's in binary number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 01:50 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM

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