SocketTools .NET Edition

IcmpClient.OnTrace Event

Occurs when an echo datagram is forwarded to an intermediate host.

[Visual Basic]
Public Event OnTrace As OnTraceEventHandler
[C#]
public event OnTraceEventHandler OnTrace;

Event Data

The event handler receives an argument of type IcmpClient.TraceEventArgs containing data related to this event. The following IcmpClient.TraceEventArgs properties provide information specific to this event.

Property Description
HostName Gets the remote host name or IP address.
Replies Gets the number of echo reply datagrams received from the remote host.
TraceHop Gets a value which specifies the distance from the local system to the specified host.
TripAverage Gets the average packet trip time in milliseconds.
TripMaximum Gets the maximum packet trip time in milliseconds.
TripMinimum Gets the minimum packet trip time in milliseconds.

Remarks

The OnTrace event is generated when the TraceRoute method is called. This event will fire for each intermediate host in the route from the local system and the remote host.

See Also

IcmpClient Class | SocketTools Namespace