TipcMsgGetReplyTo get the reply to destination property of a message
msg
message to get reply to destination from
reply_to_dest_return
storage for message reply to destination
TRUE
if the reply to destination was successfully retrieved from the message, FALSE
otherwise.
If TipcMsgGetReplyTo fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgGetReplyTo gets the reply to destination property of a message. The reply to destination property is a string representing a subject where a reply to the message should be sent.
If TipcMsgGetReplyTo returns FALSE
, it does not store a value in reply_to_dest_return
.
Do not modify the value stored in reply_to_dest_return
. It points directly into an internal data structure.
This example prints the reply to destination of a message:
T_STR reply_to_dest; if (!TipcMsgGetReplyTo(msg, &reply_to_dest)) {return
; /* error */
} TutOut("msg had reply to %s\n", reply_to_dest ? reply_to_dest : "<NULL>");
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |