TipcSrvConnDestroy


Name

TipcSrvConnDestroy — free resources associated with the RTclient/RTserver connection handle

Synopsis

T_BOOL TipcSrvConnDestroy(srv) 
T_IPC_SRV srv; 

Arguments

srv — connection handle to destroy

Return Values

TRUE if the connection handle was successfully destroyed, FALSE otherwise.

Diagnostics

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

Description

TipcSrvConnDestroy destroys a connection. All memory for the connection is freed, and the connection is closed.

Caution

None

See Also

TipcSrvConnCreate

Examples

This example destroys the connection handle:

if (!TipcSrvConnDestroy(srv)) { 
  return;  /* error */ 
} 

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