Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WWIPStuff stalling
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00246980
Message ID:
00247156
Views:
15
>>
>>Aside from the messages that might come back that don't include 'timeout', like destination host unreachable, it involves running an external app, and really doesn't give you the details on what state your IP connection is in; more of a problem for people not using DUN to reach the Internet, going through a proxy of some sort. You can make the same test using WInsock and get a whole lot more internal functionality.
>>>Wayne
>
> Can you give me some example of how to do it with Winsock? I may need it some day.

Sorry, I don't have any VFP code to give you for it. The VB samples in the MSDN are pretty clear about how to set up the control, though, and the syntax isn't that far from VFP.

> I have worked with the wininet.dll to connect users to our corporate LAN through DUN and the Internet, but not winsock.
>

I don't have code to give you, but as mentioned, there's sample VB code in the MSDN documentation (see my original message for exactly where). If you don't have the MSDN yourself, you can access the content through msdn.microsoft.com

There's sample Winsock code for a number of things here in the Files Section or FAQ; you might want to do a search there if you need it and can't/won't play with translating the VB sample code.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform