SocketTools .NET Edition

IcmpClient.OnEcho Event

Occurs when an echo datagram is sent to the remote host.

[Visual Basic]
Public Event OnEcho As OnEchoEventHandler
[C#]
public event OnEchoEventHandler OnEcho;

Event Data

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.

Remarks

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.

See Also

IcmpClient Class | SocketTools Namespace