MessageType Property
The type of the ICMP message (part of the ICMP header).
Syntax
icmpportcontrol.MessageType[=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. |
Data Type
Integer