MessageSubType Property
The subtype of the ICMP message (part of the ICMP header).
Syntax
ANSI (Cross Platform) int GetMessageSubType();
int SetMessageSubType(int iMessageSubType); Unicode (Windows) INT GetMessageSubType();
INT SetMessageSubType(INT iMessageSubType);
@property (nonatomic,readwrite,assign,getter=messageSubType,setter=setMessageSubType:) int messageSubType; - (int)messageSubType; - (void)setMessageSubType:(int)newMessageSubType;
#define PID_ICMPPORT_MESSAGESUBTYPE 6 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_ICMPPort_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_ICMPPort_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property contains the subtype of the ICMP message (part of the ICMP header). The ICMP message subtype (also referred to as 'code') is a byte value representing the message subclass. Its meaning is associated with the MessageType.
Types and subtypes for ICMP messages are defined in the various internet RFCs and other documentation associated with TCP/IP.
Data Type
Integer