Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WWIPStuff stalling
Message
De
30/07/1999 06:41:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00246980
Message ID:
00248099
Vues:
20
>
>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
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform