MessageType Property

The type of the ICMP message (part of the ICMP header).

Syntax

public int MessageType { get; set; }
Public Property MessageType As Integer

Default Value

0

Remarks

This property contains the type of the ICMP message (part of the ICMP header). The ICMP message type is a byte value representing the message class. The message type defines the structure and meaning of the message data assigned to DataToSend.

Types for ICMP messages are defined in the various internet RFCs and other documentation associated with TCP/IP. The following are a few examples of ICMP message types:

0 Echo reply ('ping' reply).
3 Destination unreachable.
4 Source quench.
5 Redirect (change a route).
8 Echo request ('ping' request).
11 Time exceeded for datagram.
12 Parameter problem on datagram.
13 Timestamp request.
14 Timestamp reply.
17 Address mask request.
18 Address mask reply.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]