Disconnecting from RTserver


Every RTclient program should call the function TipcSrvDestroy before exiting:

TipcSrvDestroy(T_IPC_SRV_CONN_NONE); 

An RTclient using the tcp protocol to connect to RTserver may lose outgoing messages if the process terminates without calling TipcSrvDestroy. While data loss rarely occurs on UNIX and OpenVMS, it can happen very frequently on Windows. TipcSrvDestroy forces the operating system to deliver all flushed outgoing messages.


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