TipcMsgGetSenderTimestamp get the sender timestamp property of a message
T_BOOL TipcMsgGetSenderTimestamp(msg, sender_timestamp_return
) T_IPC_MSGmsg
; T_REAL8 *sender_timestamp_return
;
msg
message to get sender timestamp from
sender_timestamp_return
storage for message sender timestamp
TRUE
if the sender timestamp was successfully retrieved from the message, FALSE
otherwise.
If TipcMsgGetSenderTimestamp fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgGetSenderTimestamp gets the sender timestamp property of a message. A value of 0.0
indicates that the sender timestamp property was not set.
Do not modify the value stored in sender_timestamp_return
. It points directly into an internal data structure.
This example gets the sender timestamp of a message:
T_REAL8 sender_timestamp; if (!TipcMsgGetSenderTimestamp(msg, &sender_timestamp)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |