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
Solved

How can I get bandwidth value for Internet connection?

Posted on 2004-03-26
7
224 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
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.

 

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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