TipcMsgSetType set the type of a message
msg
message to set type for
mt
message type
TRUE
if the type was successfully set for the message, FALSE
otherwise.
If TipcMsgSetType fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgSetType sets the type of a message. The type identifies the category of message being manipulated. Most connection callback types use a message type to allow various kinds of execution based on specific message types.
None
This example sets the type of a message to NUMERIC_DATA:
mt = TipcMtLookupByNum(T_MT_NUMERIC_DATA); if (mt == NULL) {return
; /* error */
} if (!TipcMsgSetType(msg, mt)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |