TipcConnBufferGetReadSize get the total number of bytes in a connection’s read buffer
conn
connection to get information for
read_size_return
returned number of bytes
TRUE
if the number of bytes was sucessfully retrieved, FALSE
otherwise.
If TipcConnBufferGetReadSize fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcConnBufferGetReadSize 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 conn; T_INT4 read_size; . . . if (!TipcConnBufferGetReadSize(conn, &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 |