Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > WINDOWS PROGRAMMING (NNTP) > Internet Connection Type
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 12th July 22:18
cenker
External User
 
Posts: 1
Default Internet Connection Type



I want to write a software which detects the internet connection type
of the computer (i.e. 56k Modem,ISDN,Dual ISDN,DSL,cable
modem,satellite, fixed connection.) and the size of the connection (i.e
DSL 512kbit)

Can somebody give me a clue ?
Using InternetGetConnectedState function I only have following options.
Is there another way(s) to determine connection type of internet.
#INTERNET_CONNECTION_MODEM = $1
#INTERNET_CONNECTION_LAN = $2
#INTERNET_CONNECTION_PROXY = $4
#INTERNET_CONNECTION_MODEM_BUSY = $8
#INTERNET_CONNECTION_OFFLINE = $20
#INTERNET_CONNECTION_CONFIGURED = $40
#INTERNET_RAS_INSTALLED = $10


Regards,
Cenker Sisman
  Reply With Quote


  sponsored links


2 12th July 22:18
peter duniho
External User
 
Posts: 1
Default Internet Connection Type



InternetGetConnectedState() is not a Winsock function, and as far as I know,
what you want to do is not possible using Winsock.

For what purpose do you want to detect the Internet connection type? You
are, of course, aware that the connection as it seems to be on the PC is not
necessarily how the PC is actually connected to the Internet, and in fact
often is not. Right?

Pete
  Reply With Quote
3 19th July 17:31
External User
 
Posts: 1
Default Internet Connection Type


I want to write a module which detect the connection type located in PC
than optimize this connection for faster surfing.

Cenker.
  Reply With Quote
4 19th July 17:31
peter duniho
External User
 
Posts: 1
Default Internet Connection Type


Well, good luck with that. IMHO, it's futile to try to "optimize" your
connection for "faster surfing", both because the connection is likely to
already be just fine for surfing, and because you can never really know just
exactly how your PC is connected to the Internet.

In any case, there's nothing in Winsock that can assist you with this.
You'll need to find a different newsgroup (perhaps one of the TCP/IP
groups).

Pete
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666