How can I get bandwidth value for Internet connection?

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.
doswareAsked:
Who is Participating?
 
bpanaConnect With a Mentor Commented:
a very good example you can find here:

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

Bogdan
0
 
shaneholmesCommented:
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
 
doswareAuthor Commented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
shaneholmesCommented:
I dont believe that value is stored anywhere, since it is determined at server side?

Shane
0
 
doswareAuthor Commented:
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
 
shaneholmesCommented:
You may be right ...im listening....

Shane
0
 
shaneholmesCommented:
Yup, thats the article i was thinking about

"there was some code called netmon, "

Wasn't sure what its name was...

Shane
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.