TipcConnTrafficGetBytesRecv8 get the total number of bytes received on a connection
T_BOOL TipcSrvConnTrafficGetBytesRecv8(srv
,bytes_recv_return
) T_IPC_SRVsrv
; T_INT8 *bytes_recv_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 TipcSrvConnTrafficGetBytesRecv8 fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcSrvConnTrafficGetBytesRecv8 retrieves the total number of bytes received on a connection.
TipcSrvConnTrafficGetBytesSent8
This example retrieves the number of bytes received on a connection:
T_IPC_SRV srv; T_INT8 bytes_recv; . . . if (!TipcSrvConnTrafficGetBytesRecv8(srv, &bytes_recv)) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |