Solved

How can I get bandwidth value for Internet connection?

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

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!

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

691 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