TipcSrvConnTrafficGetBytesSent8


Name

TipcConnTrafficGetBytesSent8 — get the total number of bytes sent on a connection

The following version of this function is deprecated in release 6.7 and later. The previous form supersedes it. We retain the older form only for backward source compatibility.

TipcConnTrafficGetBytesSent — get the total number of bytes sent on a connection

Synopsis

T_BOOL TipcSrvConnTrafficGetBytesSent8(srv, bytes_sent_return) 
T_IPC_SRV srv; 
T_INT8 *bytes_sent_return; 

Arguments

srv — connection handle to RTserver

bytes_recv_return — returned number of bytes

Return Values

TRUE if the number of bytes was sucessfully retrieved, FALSE otherwise.

Diagnostics

If TipcSrvConnTrafficGetBytesSent8 fails, it returns FALSE and sets the global SmartSockets error number to:

Description

TipcSrvConnTrafficGetBytesSent8 retrieves the total number of bytes sent on a connection.

See Also

TipcSrvConnTrafficGetBytesRecv8

Examples

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