IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

MessageType Property

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

Object Oriented Interface

public function getMessageType();
public function setMessageType($value);

Procedural Interface

ipworks_icmpport_get($res, 7 );
ipworks_icmpport_set($res, 7, $value );

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

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0