TipcConnTrafficGetBytesSent8 get the total number of bytes sent on a connection
T_BOOL TipcSrvConnTrafficGetBytesSent8(srv
,bytes_sent_return
) T_IPC_SRVsrv
; T_INT8 *bytes_sent_return
;
srv
connection handle to RTserver
bytes_recv_return
returned number of bytes
TRUE
if the number of bytes was sucessfully retrieved, FALSE
otherwise.
If TipcSrvConnTrafficGetBytesSent8 fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcSrvConnTrafficGetBytesSent8 retrieves the total number of bytes sent on a connection.
TipcSrvConnTrafficGetBytesRecv8
This example retrieves the number of bytes sent on a connection:
T_IPC_SRV srv; T_INT8 bytes_sent; . . . if (!TipcSrvConnTrafficGetBytesSent8(srv, &bytes_sent)) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |