IPWorks 2020 C++ Builder Edition

Questions / Feedback?

TraceTo Method

Trace the route to a host.

Syntax

void __fastcall TraceTo(String Host);

Remarks

Traces are initiated by calling TraceTo, with the Host argument set to the name or address of the destination host to trace to. Host must contain a valid Internet domain name or address, or the component raises an exception. To interrupt a trace in progress, set RemoteHost to empty string. Calling this method is equivalent to setting the RemoteHost property to Host.

Example (Perform a TraceRoute)


TraceRouteControl.TraceTo("myHost")
is equivalent to
TraceRouteControl.RemoteHost = "myHost"

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Builder Edition - Version 20.0 [Build 8307]