Board index » delphi » Problem on detecting internet connection
R?k
![]() Delphi Developer |
Mon, 01 Oct 2001 03:00:00 GMT
|
R?k
![]() Delphi Developer |
Mon, 01 Oct 2001 03:00:00 GMT
Problem on detecting internet connection
the component i am using sends/receives a event when i am logged into my
IPS, meaning after sending username and password and waiting for the ISP to confirm my TCP/IP connection. Bus as I am trying to develop a phone-cost tracking app I need to detect connection even before logging in. So I need an event to occur when the noice through the modem speaker starts , when the other side picks up the call. Anyone heaving any idea's? Also welcome: Stuff about fingering Thanks., |
Align Software
![]() Delphi Developer |
Thu, 04 Oct 2001 03:00:00 GMT
Re:Problem on detecting internet connectionIn article <7f5j28$ts...@enterprise.cistron.nl>, ruse...@bigfoot.com says... Quote>the component i am using sends/receives a event when i am logged into my rasapi32/RasEnumConnections, and then wininet/InternetGetConnectedState. I doesnt trigger an event but you can call it from a timer event every few secs or so, to detect connection/disconnection. Regards/Stefan @@@@@@@@@@@@@@@@ U R L S E N T R Y @@@@@@@@@@@@@@@@@@@@@@@@@@ Get Instant Notification of Changes or Updates of Your Favourite Sites! http://home.swipnet.se/align/shareware URLSentry is a Windows shareware application that can be used @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ var RasEnumConnections: var InternetGetConnectedState: function InetConnected(bAutoCheck:boolean):boolean; |
seb macki
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
Re:Problem on detecting internet connectionAlternatively you could check to see if DUN is running. Possibly? Align Software AB <ForEMailAddr...@SeeOurWebPage.com> wrote: Quote
-- seb http://mapform.gibbed.com/ 24078244 "in wigan, a kebab is a pie on a stick" - peterb |
dimitr..
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
Re:Problem on detecting internet connectionjust wanted to say thanks for the code. it reminded me that the rasapi32 had to be checked for and not assumed. all functions called use getprocaddress... anyway if you are calling your function periodically as written, you need to change it. loadlibrary should only be done once. loading & unloading wastes a tremendous amount of resources and cpu time... On Sun, 18 Apr 1999 14:26:37 GMT, ForEMailAddr...@SeeOurWebPage.com (Align QuoteSoftware AB) wrote: |
seb macki
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
Re:Problem on detecting internet connectionQuotez...@oisin.demon.co.uk wrote: Surely another program will be running though, hidden possibly? ...and stuff. |
1. Detect dial-up modem Internet connection
2. how to detect internet connection
3. Detecting Internet Connection
4. How to detect connection of internet ?
5. Best way to detect internet connection?
6. Yet another help question: Detecting an internet connection
7. Detecting an Internet Connection ?
8. How to detect an Internet connection?
9. Detecting Internet connection
10. How to detect Internet Network Connection Type using Indy Components