Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to force a dial-up connection to start-- Wininet.DLL
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00352192
Message ID:
00354420
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform