TipcBufMsgNext
get a message from a T_BUF object
buf
buffer holding the message
The retrieved message, or NULL
if there is an error.
If TipcBufMsgNext fails, it returns NULL
, and sets the global error number to one of:
Retrieves a message from a T_BUF object. The message must have been previously appended to that buffer with TipcBufMsgAppend.
This function is only necessary under unusual circumstances, such as when storing a complete SmartSockets message in a database, rather than the contents of the message.
TipcBufMsgAppend; see the TIBCO SmartSockets Utilities for information on TutBufDestroy and TutBufCreate.
This example pulls a message from a T_BUF object:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |