TipcSrvConnBufferGetReadSize get the total number of bytes in a connection’s read buffer
srv
connection handle to the RTserver
read_size_return
returned number of bytes
TRUE
if the number of bytes was sucessfully retrieved, FALSE
otherwise.
If TipcSrvConnBufferGetReadSize fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcSrvConnBufferGetReadSize retrieves the total number of bytes in a connection’s read buffer.
This example retrieves the number of bytes in a connection’s read buffer:
T_IPC_SRV srv; T_INT4 read_size; . . . if (!TipcSrvConnBufferGetReadSize(srv, &read_size)) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |