Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to force a dial-up connection to start-- Wininet.DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00352192
Message ID:
00354420
Vues:
25
>Erik,
>
>Could you please elaborate some more on using InternetAttemptConnect. I also
>need to create or verify the presence of an internet connection, and have thus far failed.
>
>Thanks

DECLARE INTEGER InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)

As far as detecting a connection, the only 100% reliable way is to test for some known resource on the internet, ala PING. I believe there are a couple of PING classes here in the files section.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform