Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From the app simply check if internet is connected or no
Message
From
08/10/2005 12:28:01
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:
01057470
Views:
13
I reread and still get it as if he wants to check remote user:( Probably your interpretation is right.
Cetin

>I understand the requets that He wants to know if the USER 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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform