TipcMsgSetSenderTimestamp


Name

TipcMsgSetSenderTimestamp — set the sender timestamp property of a message

Synopsis

T_BOOL TipcMsgSetSenderTimestamp(msg, sender_timestamp) 
T_IPC_MSG msg; 
T_REAL8 sender_timestamp; 

Arguments

msg — message to set sender timestamp for

sender_timestamp — message sender timestamp

Return Values

TRUE if the sender timestamp was successfully set for the message, FALSE otherwise.

Diagnostics

If TipcMsgSetSenderTimestamp fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcMsgSetSenderTimestamp sets the sender timestamp property of a message. A value of 0.0 indicates that the sender timestamp property was not set.

Caution

None

See Also

TipcMsgGetSenderTimestamp; see the TIBCO SmartSockets Utilities for information on TutGetWallTime.

Examples

This example sets the sender timestamp property of a message to the current time:

if (!TipcMsgSetSenderTimestamp(msg, TutGetWallTime())) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com