>
>Here's what I do . . .
>
>set classlib to wwipstuff addi
>o = create('wwipstuff')
>lcip=''
>* check to see if you can access the web server
>lcip= o.GetIpFromDomain("
www.Yourdomain.com")
>if len(lcip)<12
> messagebox('Not Connected to the Internet'+crlf+' or the Web Server is experiencing problems. . . Check Connection!')
> return
>endif
>
>Works like a charm for me.
If you completely disconnect yourself from the internet, how long does it take to return the error message?
I implemented a check using ASPPING with some help from Paul Mrozowski (in this same thread) which works great to find if my FTP server is on-line. Unfortunately, if my internet connection is down, it takes a while to return.
Has anyone implemented a call to WINSOCK as suggested by Ed Rauh?
Thanks,
David