TipcMsgGetCompression get the compression status of a message
msg
message to get compression status from
compress_return
storage for message compression status
TRUE
if the compression status was successfully retrieved from the message, FALSE
otherwise.
If TipcMsgGetCompression fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgGetCompression gets the compression status of a message, or whether or not compression is enabled. When a message is created, its compression status is initialized to the message type's compression status. Use TipcMsgSetCompression to change the default compression status of a message.
If TipcMsgGetCompression returns FALSE
, it does not store a value in compress_return
.
TipcMsgSetCompression, TipcMtGetCompression
This example gets the compression status of a message:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |