Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From the app simply check if internet is connected or no
Message
 
To
08/10/2005 12:17:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01057453
Message ID:
01057469
Views:
14
I understand the requets that He wants to know if the USER's computer where application is installed is connected to INet. Not to check if some particular user is connected to INet.

>>>Hi all
>>>
>>>How can I just find out if the users computer is online or not. A simplest and shortest and fastest code, something that maybe run from a timer and won't overload the system.
>>>
>>>Please advise.
>>
>>Try this:
>>
>>#define FLAG_ICC_FORCE_CONNECTION 0x01
>>
>>DECLARE INTEGER InternetCheckConnection IN wininet STRING lpszUrlSTRING, INTEGER dwFlags, INTEGER dwReserved
>>myFastLoadedSite = "http://www.dir.bg"
>>? InternetCheckConnection(myFastLoadedSite,FLAG_ICC_FORCE_CONNECTION,0)
>>
>
>How would this check if a user is connected to internet? Where is user's address etc? For example can you check if I'm online with this if I you know my IP???
>As far as I know this only checks if 'me' is connected or not, no?
>Cetin
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform