VoltoTRC TraceRoute and Ping Component
Introduction
User Guide
Technical Reference
Download
Buy a License
Other Volto Components
|
|
You can use this component to create client programs (with Visual Basic, for example) or server-based
applications (with Active Server Pages).
To ping a remote host, call the Ping method specifying the target host name or
IP address. If the ping is successful (no errors raised), then read the ping time from
the RoundTripTime property. The address of the target host can be
read from the ReplyAddress property. To improve performance, addresses are not
automatically resolved to host names. To resolve the address to a host name, read the ReplyHostName property.
To trace the route to a remote host, first set the TTL (time to live) property to 1. Then call
the Ping method as above. Because the ping packet has a time to live set to 1 hop,
the first router along the path to the target host will reply to the ping. The roundtrip time, address
and host name of the router can be read from the RoundTripTime, ReplyAddress and ReplyHostName properties as described above.
To continue tracing, put the above step in a loop, repeatedly incrementing
the value of the TTL property. An 'IP TTL expired in transit' error following a ping indicates that we have pinged
a router (or 'hop') along the route to the target host. If no error is raised, this indicates that we have
have reached the end of the route pinged the target host itself. Furthermore, in this
case, the TTL value we specified represents the number of hops to the target host itself.
Installing the Component
Download and install the setup kit containing the evaluation component.
Note that the component requires the standard Visual Basic 6.0 runtime libraries. If these are not already installed on your system,
click here to download them from Microsoft's web site.
Sample Programs
You can now run the sample Visual Basic or Active Server Page code samples included with the evaluation
component.
Visual Basic
When creating a Visual Basic program, you must first set a reference to the component.
Create a new project and then on the Project menu click References to
open the References dialog box. Locate the component
(named 'Volto TraceRoute and Ping Component') in the list, and check it.
Distributing the Component
When you purchase a license for this component, you will be provided with a serial number, a license key and a redistributable runtime license file. As a licensed user
you may distribute the component with your compiled applications royalty-free. To ensure that your application will function correctly on a target system, your program must call the ProductLicense method to unlock licensed functionality.
See the Technical Reference for more information on using this method.
Your application setup package must copy the component and the runtime license file to the same directory and the component must be registered. Also ensure that the Visual Basic 6.0 runtime files are installed on the target system. These files (and minimum version numbers) are:
- AsycFilt.dll - version 2.40.4275
- ComCat.dll - version 5.0
- MSVBVM60.dll - version 6.00.8495
- OleAut32.dll - version 2.40.4275
- OlePro32.dll - version 5.0.4275
- StdOle.tlb - version 2.40.4275
© Copyright 2005 VOLTO.COM
|
|