TipcConnTrafficGetMsgsRecv8 get the total number of messages received on a connection
T_BOOL TipcSrvConnTrafficGetMsgsRecv8(srv
,msgs_recv_return
) T_IPC_SRVsrv
; T_INT8 *msgs_recv_return
;
srv
connection handle to RTserver
msgs_recv_return
returned number of messages
TRUE
if the number of messages was sucessfully retrieved, FALSE
otherwise.
If TipcSrvConnTrafficGetMsgsRecv8 fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcSrvConnTrafficGetMsgsRecv8 retrieves the total number of messages received on a connection.
TipcSrvConnTrafficGetMsgsSent8
This example retrieves the number of messages received on a connection:
T_IPC_SRV srv; T_INT8 msgs_recv; . . . if (!TipcSrvConnTrafficGetMsgsRecv8(srv, &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 |