TipcMtLookupByNum look up a message type by number
num
number of message type
Message type if successful, NULL
otherwise.
If TipcMtLookupByNum fails, it returns NULL
and sets the global SmartSockets error number to:
TipcMtLookupByNum looks up a message type with the desired number. The standard SmartSockets message types use C #define
defines for numbers that are similar to the names. (For example, the message type with name "numeric_data"
has a defined number T_MT_NUMERIC_DATA.)
None
TipcMtCreate, TipcMtDestroy, TipcMtLookup; see TIBCO SmartSockets Utilities for information on TutHashLookup.
This example looks up the ALERT message type by number:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |