?
Solved

How can I get bandwidth value for Internet connection?

Posted on 2004-03-26
7
Medium Priority
?
232 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
  • 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

807 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