Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WWIPStuff stalling
Message
 
To
28/07/1999 16:46:08
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00246980
Message ID:
00247450
Views:
20
>
>For me, I think being able to PING a site is enough, and I recently started a thread called "NEED FAST PING TEST". While I currently use the shell out to DOS method to run PING -n 1 123.123.123.123, I am seeking a windows PING function. In my other thread, Mark Hall told me about a PING control at www.serverobjects.com. The control is free but doesn't come with any support. Right now I don't have the time to try it, but I would welcome any help getting it to work.
>

The control is really easy to use. Follow the instructions in the .HTM file to register the DLL then you can use the code:
oPing = CreateObject("aspping.conn")
oPing.RemoteHost = "www.levelextreme.com"
oPing.PingCount = 2
lcResult = oPing.Ping()

? lcResult
Then you could easily parse the string for any of the results you want (ie. timeouts).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform