TipcConnTrafficGetMsgSent8 get the total number of messages sent on a connection
T_BOOL TipcConnTrafficGetMsgsSent8(conn
,msgs_sent_return
) T_IPC_CONNconn
T_INT8 *msgs_sent_return
;
conn
connection to get information for
msgs_sent_return
returned number of messages
TRUE
if the number of messages was sucessfully retrieved, FALSE
otherwise.
If TipcConnTrafficGetMsgsSent8 fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcConnTrafficGetMsgsSent8 retrieves the total number of messages sent on a connection.
This example retrieves the number of messages sent on a connection:
T_IPC_CONN conn; T_INT8 msgs_sent; . . . if (!TipcConnTrafficGetMsgsSent8(conn, &msgs_sent)) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |