SPing is a light weight ActiveX COM object which can be used in Windows-based applications on Windows-NT and Windows-95.
A new feature in version 1.1 is Resolve method and richer error handling.
The size of the binary object: 109K, no dependencies on other dlls.
The DoPing method initiates Host resolution or Reverse host resolution first depending on DoResolveHost and RemoteHost properties. If RemoteHost is an IP address, no host resolution happens, unless DoResolveHost is true. If RemoteHost is a symbolic name, host resolution is initiated in either case.
After DoPing returns, ReplyCode property reflects wheter the ping was successful (reply received, value 0) or not:
Non-blocking mode (Supported only in full release, not in demo version)
When calling ping in non-blocking (asynchronous mode), before proceding with echo request, this method waits for host resolution if it was initiated while peeking messages and therefore yielding CPU to the current thread.
Blocking mode
When calling ping in blocking (synchronous mode), before proceding with echo request, this method blocks on host resolution. The current thread is blocked until the resolution is finished. This may cause delays with non-responsive UI mainly if the host can't be resolved due to wrong symbolic address or unavailability of DNS server.
The following errors may be returned:
Additional error information may be retrieved from ReplyCode property after DoPing successfully returned (BUSY exception wasn't raised).
The Java Applet (pinglet.class) requires ping.dll. Ping ActiveX needs to run Java Typelib conversion utility: "Java Type Library Wizard" (JT.EXE) that comes with VJ++. The applet has to be "trusted" in order to use a COM object.
To order a full-featured release version of SPing or other products of ShineSoft Systems, please e-mail your request to info@shinesoft.com
Please e-mail comments and suggestions on components to support@shinesoft.com