Thread View: borland.public.cppbuilder.internet.socket
8 messages
8 total messages
Started by Edward
Mon, 05 Jul 2004 04:59
Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Edward
Date: Mon, 05 Jul 2004 04:59
Date: Mon, 05 Jul 2004 04:59
7 lines
1016 bytes
1016 bytes
How can i discovery the type of my conection , ADSL, DSL, Cable, or Dial UP? Ty All Edward
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Remy Lebeau (TeamB)
Date: Mon, 05 Jul 2004 18:16
Date: Mon, 05 Jul 2004 18:16
20 lines
1713 bytes
1713 bytes
"Edward" <Registrados2004@aol.com> wrote in message news:40e8e04e@newsgroups.borland.com... > How can i discovery the type of my conection , > ADSL, DSL, Cable, or Dial UP? In the case of dialup, you could use the RAS API to see if there are any dialup connections configured in DUN, and also to see if any dialup connections are currently active. That won't tell you if the connections are used for internet access, though. As for the rest, you can't discover the type. Internet connections are just another type of network connection, regardless of the type of hardware being used. Especially where DSL and Cable are concerned, once configured they are transparant to the computer. You will just have to ask the user what is actually being used. Gambit
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Edward
Date: Mon, 05 Jul 2004 18:20
Date: Mon, 05 Jul 2004 18:20
42 lines
2151 bytes
2151 bytes
Dial Up its ok . But ask to user what is actually being user, dont work for me. I need a function withou a intervation of user (NO INTERFACE). Thanks Any Way Edward "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> escreveu na mensagem news:40e99afa$3@newsgroups.borland.com... > > "Edward" <Registrados2004@aol.com> wrote in message > news:40e8e04e@newsgroups.borland.com... > > > How can i discovery the type of my conection , > > ADSL, DSL, Cable, or Dial UP? > > In the case of dialup, you could use the RAS API to see if there are any > dialup connections configured in DUN, and also to see if any dialup > connections are currently active. That won't tell you if the connections > are used for internet access, though. > > As for the rest, you can't discover the type. Internet connections are just > another type of network connection, regardless of the type of hardware being > used. Especially where DSL and Cable are concerned, once configured they > are transparant to the computer. You will just have to ask the user what is > actually being used. > > > Gambit > >
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Remy Lebeau (TeamB)
Date: Mon, 05 Jul 2004 21:57
Date: Mon, 05 Jul 2004 21:57
11 lines
1328 bytes
1328 bytes
"Edward" <Registrados2004@aol.com> wrote in message news:40e99c0d$1@newsgroups.borland.com... > But ask to user what is actually being user, dont work for me. Then you can't do programmably what you are asking for, because the computer itself doesn't even know whether DSL or cable is being used. Gambit
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Edward
Date: Tue, 06 Jul 2004 13:24
Date: Tue, 06 Jul 2004 13:24
22 lines
1642 bytes
1642 bytes
And if i discovery the type of modem and send a command to he ? Man there is a way but we dont know. Always there is a way. Edward "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> escreveu na mensagem news:40e9ceb6$3@newsgroups.borland.com... > > "Edward" <Registrados2004@aol.com> wrote in message > news:40e99c0d$1@newsgroups.borland.com... > > > But ask to user what is actually being user, dont work for me. > > Then you can't do programmably what you are asking for, because the computer > itself doesn't even know whether DSL or cable is being used. > > > Gambit > >
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Remy Lebeau (TeamB)
Date: Tue, 06 Jul 2004 18:08
Date: Tue, 06 Jul 2004 18:08
22 lines
1981 bytes
1981 bytes
"Edward" <Registrados2004@aol.com> wrote in message news:40eaa8bc$1@newsgroups.borland.com... > And if i discovery the type of modem and send a command to he ? No, because there are a ton of different modem manufacturers. Do you really want to try supporting every modem type that exists in the world? Besides, there is also another scenerio where no modem is being used at all because the computer is getting its internet connection via a local network instead and thus the modem is connected to a completely different machine altogether. > Man there is a way but we dont know. Always there is a way. Why do you need this? If anything, just ask the user what he/she is actually using. You will save yourself a lot of troubles, and your program will be that much more flexible in the long run should the user ever change the connection type to something else later. Gambit
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Edward
Date: Wed, 07 Jul 2004 01:26
Date: Wed, 07 Jul 2004 01:26
39 lines
2297 bytes
2297 bytes
Many times the user dont know the type of the conection they use belive in me this happens. Ty Any way Edward "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> escreveu na mensagem news:40eaea98$1@newsgroups.borland.com... > > "Edward" <Registrados2004@aol.com> wrote in message > news:40eaa8bc$1@newsgroups.borland.com... > > > And if i discovery the type of modem and send a command to he ? > > No, because there are a ton of different modem manufacturers. Do you really > want to try supporting every modem type that exists in the world? Besides, > there is also another scenerio where no modem is being used at all because > the computer is getting its internet connection via a local network instead > and thus the modem is connected to a completely different machine > altogether. > > > Man there is a way but we dont know. Always there is a way. > > Why do you need this? If anything, just ask the user what he/she is > actually using. You will save yourself a lot of troubles, and your program > will be that much more flexible in the long run should the user ever change > the connection type to something else later. > > > Gambit > >
Re: Conection Type , ADSL, DSL, Cable, T1 , Dial UP or other?
Author: Gerardo
Date: Fri, 30 Jul 2004 16:19
Date: Fri, 30 Jul 2004 16:19
14 lines
1340 bytes
1340 bytes
DIalup would be checking the DUP through API, and you could check if DHCP was used, it would be Cablemodem (most of them uses DHCP), and DSL would be like DUP... win2000 and xp manages it on the same way. Edward wrote: > How can i discovery the type of my conection , ADSL, DSL, Cable, or Dial UP? > > > > Ty All > > Edward > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads