Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Internet Connectivity
Message
 
À
27/08/2004 15:05:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00936372
Message ID:
00937204
Vues:
12
Thank you!
I used to use it in the old "DialUp" days. I think there there is an associated proxy function - but that would reduce it's elegance.

So - connecting to a proxy is not an internet connection?

>That can give a false positive...when it sees a proxy, but the proxy does not see the internet. You've got to hit a known internet address to know if you really are connected.
>
>>How about:
>>
DECLARE INTEGER InternetAttemptConnect IN WinInet.dll STRING
>>if InternetAttemptConnect("")<1
>>   * You're connected!
>>endif
>>
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform