Search: 
Available in: IP*WORKS!
Traceroute Class
TraceRoute Component [IP*Works! V8]

Properties   Methods   Events   Configuration Settings  

The TraceRoute component allows you to trace the path IP packets take on the Internet.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The component implements a standard IP Traceroute as defined in RFC 1393.

To use the component, simply call the TraceTo method and set the Host parameter to the domain name or IP address of the host you want to trace the path to. This is identical to setting the RemoteHost property to the domain name or IP address. The component will start sending probe packets towards the host, and as it receives replies it will fire Hop events giving information about the route. The same information is also provided in the Hops collection.

The ResolveNames property enables or disables DNS resolution of IP addresses received during the trace. If set to False only IP addresses are provided. If set to True the component will attempt to resolve the names of the hosts in the route. This may considerably increase the time it takes to complete the trace.

The HopTimeout property determines the maximum waiting time for a response in each hop of the trace, while the Timeout property defines the maximum waiting time for the whole trace. The HopLimit property specifies the maximum number of hops allowed for a trace.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.

HopLimit The maximum number of hops to allow for a trace.
HopTimeout Maximum amount of time to wait for an individual hop to complete.
Hops A collection of hops to the RemoteHost.
Idle The current status of the component.
LocalHost The name of the local host or user-assigned IP interface through which connections are initiated or accepted.
RemoteHost The address of a host to trace to.
ResolveNames Determines whether the component resolves the host name for each host during the trace.
Timeout A timeout for the component.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.

Config Sets or retrieves a component configuration setting.
DoEvents Processes events from the internal message queue.
Interrupt Interrupt the current method.
TraceTo Trace the route to a host.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.

Error Information about errors during data delivery.
Hop Fired for each hop in the trace to the .
HopResolved Fired when the name of a hop address is found.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.

AbsoluteTimeout Determines whether timeouts are inactivity timeouts or absolute timeouts.
CodePage The system code page used for Unicode to Multibyte translations (Windows/COM only).
FirewallData Used to send extra data to the firewall.
HopTimeoutInMilliseconds The hop timeout is treated as milliseconds.
IcmpDllTimeout The timeout for the component when using the icmp.dll.
InBufferSize The size in bytes of the incoming queue of the socket.
MaxMessageSize The maximum length of the messages that can be received.
OutBufferSize The size in bytes of the outgoing queue of the socket.
QOSFlags Flags determining Quality Of Service bits of packets sent by the socket.
SocketHandle The handle of the main socket used by the component.
TimeoutInMilliseconds The timeout is treated as milliseconds.
UseConnection Determines whether to use a connected socket.
UseICMPDLL Use the icmp.dll included on Windows Systems
WinsockInfo Identifying information about the loaded Winsock stack (Windows only)
WinsockLoaded Loads and unloads Winsock on demand (Windows only)
WinsockMaxDatagramSize Size in bytes of the largest UDP datagram that can be sent or received (Windows only)
WinsockMaxSockets Maximum number of sockets available to a single process (Windows only)
WinsockPath The path to the Winsock DLL used (Windows only)
WinsockStatus The status of the Winsock stack (Windows only)

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.