Walter.Net.Networking
PacketReceived Event
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > ICMPSocket Class : PacketReceived Event
Occurs when a packet received.
Syntax
public event EventHandler<ICMPListenerResultEventArgs> PacketReceived
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
ICMPListenerResultEventArgs.MessageType to see the type of message that was send
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