Occurs when an echo datagram is sent to the remote host.
The event handler receives an argument of type IcmpClient.EchoEventArgs containing data related to this event. The following IcmpClient.EchoEventArgs 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. |
The OnEcho event is generated for non-blocking sockets when an echo datagram is sent to the remote host. This event is only generated when the Blocking property is set to false.