Solved

How can I get bandwidth value for Internet connection?

Posted on 2004-03-26
7
226 Views
Last Modified: 2010-04-05
Hello All,

Can somebody tell me how can I get bandwidth value for Internet connection?

I need to see a Delphi source code for it... If it possible.

Thank you very much.

Daemon.
0
Comment
Question by:dosware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10688044
there was some code called  netmon, that calculates & displays bytes in/out per sec.,
total bytes in/out, and peak bytes in/out per sec.for each installed
network interface. You can easily adapt it to suit your needs.
Ill see if i can find it.

Shane
0
 

Author Comment

by:dosware
ID: 10688082
Thank you for reply,

but problem is: I need to know bandwidth before I will open sockets. I need to know for choosing best way for transferring huge array of data.

Daemon
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10688150
I dont believe that value is stored anywhere, since it is determined at server side?

Shane
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dosware
ID: 10688176
I think Windows knows this value. And Windows gets it after connect to the Internet. I only need to get this value...
Probably somebody knows how to do it.
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10688202
You may be right ...im listening....

Shane
0
 
LVL 6

Accepted Solution

by:
bpana earned 500 total points
ID: 10691288
a very good example you can find here:

http://delphi.about.com/library/weekly/aa112903a.htm

Bogdan
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10691410
Yup, thats the article i was thinking about

"there was some code called netmon, "

Wasn't sure what its name was...

Shane
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question