How to programmatically check the connection speed

S

sreeramravi

I would like to programatically check the connection speed at which a
user has connected. Based on the connection speed, I would like to
launch an application with specific parameters.

Is there a way to do this in WMI / VBS / C++ / Win API ?
 
V

Victor Bazarov

I would like to programatically check the connection speed at which a
user has connected. Based on the connection speed, I would like to
launch an application with specific parameters.

Is there a way to do this in WMI / VBS / C++ / Win API ?

No idea / No idea / *No* / Probably. For anything except C++ you need
to ask in some other newsgroup.

V
 
J

Jack Klein

I would like to programatically check the connection speed at which a
user has connected. Based on the connection speed, I would like to
launch an application with specific parameters.

Is there a way to do this in WMI / VBS / C++ / Win API ?

Not in standard C++, which is all we discuss here. You have a Windows
question, a good place to ask it is in
or one of Microsoft's many
support groups in the family.
 
D

David

I would like to programatically check the connection speed at which a
user has connected. Based on the connection speed, I would like to
launch an application with specific parameters.

Is there a way to do this in WMI / VBS / C++ / Win API ?

You're probably asking the wrong questions. Consider a LAN.
Knowing that you are connected at 10Mbit, 100Mbit, or 1Gbit
is helpful but generally useless. The reason is that you
have to share that connection with others on the network,
other tasks the user has on their machine, and what the
computer is currently capable of doing.

A more useful question might be to ask what the throughput
and latency of the network and computer can provide.
Obviously this may vary over the lifetime of your
application's conversations. An adaptive and well
responding protocol is probably more helpful.

You might consider using a sample conversation and then
deciding on which parameters to use for the application.
That isn't very useful if the network performance suddenly
changes though.

David
 
S

sreeramravi

I just want to know whether the user is connected using a Modem OR
connected to a high-speed network such as office/cable/DSL. I don't
need the exact #s on the connection speed.
 
R

red floyd

I just want to know whether the user is connected using a Modem OR
connected to a high-speed network such as office/cable/DSL. I don't
need the exact #s on the connection speed.

Ask in a newsgroup dedicated to your OS/platform. Standard C++ knows
nothing about networks, DSL, or modems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top