trace_to Method

Trace the route to a host.

Syntax

def trace_to(host: str) -> None: ...

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 class fails with an error. To interrupt a trace in progress, set RemoteHost to empty string. Calling this method is equivalent to setting the remote_host 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 Python Edition - Version 20.0 [Build 8307]