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