SocketTools .NET Edition

IcmpClient.OnReply Event

Occurs when an echo reply datagram is received by the local host.

[Visual Basic]
Public Event OnReply As OnReplyEventHandler
[C#]
public event OnReplyEventHandler OnReply;

Event Data

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

Property Description
HostName Gets the remote host name or IP address.
PacketSize Gets the size of the echo datagram in bytes.
SequenceId Gets the packet sequence number.
TripTime Gets the time in milliseconds since the packet was sent to the remote host.

Remarks

This OnReply event is fired when a echo reply datagram is received from the remote system. Note that there is no guarantee that packets will be returned in the same sequence order they were sent or that they will be returned at all. This event is only generated when the Blocking property is set to false.

See Also

IcmpClient Class | SocketTools Namespace