Walter.Net.Networking
OnPingReceived Event (ICMPSocket)
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > ICMPSocket Class : OnPingReceived Event
Only triggers only when a ping is received.
Syntax
public event EventHandler<ICMPListenerResultEventArgs> OnPingReceived
Event Data

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

PropertyDescription
Gets the code.  
Gets the data.  
Gets the local endpoint.  
Gets the type of the message.  
Gets the remote endpoint.  
Remarks
Pings are also triggering a PacketReceived
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also