Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old March 28th, 2006, 04:35 AM
sreeramravi@gmail.com
Guest
 
Posts: n/a
Default How to programmatically check the connection speed


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 ?

  #2  
Old March 28th, 2006, 04:45 AM
Victor Bazarov
Guest
 
Posts: n/a
Default Re: How to programmatically check the connection speed

sreeramravi@gmail.com wrote:[color=blue]
> 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 ?[/color]

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

V
--
Please remove capital As from my address when replying by mail


  #3  
Old March 28th, 2006, 04:55 AM
Jack Klein
Guest
 
Posts: n/a
Default Re: How to programmatically check the connection speed

On 27 Mar 2006 20:21:32 -0800, sreeramravi@gmail.com wrote in
comp.lang.c++:
[color=blue]
>
> 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 ?[/color]

Not in standard C++, which is all we discuss here. You have a Windows
question, a good place to ask it is in
news:comp.os.ms-windows.programmer.win32, or one of Microsoft's many
support groups in the news:microsoft.public.* family.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
  #4  
Old March 28th, 2006, 05:25 AM
David
Guest
 
Posts: n/a
Default Re: How to programmatically check the connection speed

On Tue, 28 Mar 2006 04:21:32 UTC, sreeramravi@gmail.com wrote:
[color=blue]
>
> 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 ?[/color]

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
  #5  
Old March 29th, 2006, 01:45 AM
sreeramravi@gmail.com
Guest
 
Posts: n/a
Default Re: How to programmatically check the connection speed


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.

  #6  
Old March 29th, 2006, 05:05 AM
red floyd
Guest
 
Posts: n/a
Default Re: How to programmatically check the connection speed

sreeramravi@gmail.com wrote:[color=blue]
> 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.
>[/color]

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.