Number


Type:
Four-byte integer of C type T_INT4
Default Value:
None. This value must be supplied when creating a message type.
Valid Values:
Any integer greater than 0 that is unique to this message type

The number property also identifies the message type. Each message type number must be unique. The message type number is normally used only when a message is sent between two processes. The message type number is sent instead of the message type name because the message type number almost always uses less storage. The standard SmartSockets message types have message type numbers less than zero. User-defined message types should use numbers greater than zero.

Function to set value:

This property cannot be changed.

Function to get value:

TipcMtGetNum. For example:

if (!TipcMtGetNum(mt, &num)) { 
  /* error */ 
} 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com