User-Defined Property


Type:
Four-byte integer of C type T_INT4
Default Value:
The message type user-defined property is used. The message type user-defined property default is 0.
Valid Values:
Any integer 0 or greater

The user-defined property can be used for any purpose, such as attaching a version number to messages. This property is not used internally by SmartSockets. When a message is sent through a connection, the user-defined property is sent along with all the other properties.

Function to set value:

TipcMsgSetUserProp. For example:

if (!TipcMsgSetUserProp(msg, 42)) { 
  /* error */ 
} 
Function to get value:

TipcMsgGetUserProp. For example:

if (!TipcMsgGetUserProp(msg, &user_prop)) { 
  /* error */ 
} 

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