TipcSrvBufferGetWriteSize


Name

TipcSrvBufferGetWriteSize — get the total number of bytes in a connection’s write buffer

Synopsis

T_BOOL TipcSrvBufferGetWriteSize(write_size_return) 
T_INT4 *write_size_return; 

Arguments

write_size_return — returned number of bytes

Return Values

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

Diagnostics

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

Description

TipcSrvBufferGetWriteSize retrieves the total number of bytes in a connection’s write buffer.

See Also

TipcSrvBufferGetReadSize

Examples

This example retrieves the number of bytes in a connection’s write buffer:

T_INT4 write_size; 
. 
. 
 
if (!TipcSrvBufferGetWriteSize(&write_size)) { 
  return;  /* error */ 
}  
 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com