TipcSrvConnFlush flush buffered outgoing messages on the connection
srv
connection handle to RTserver
TRUE
if any data was successfully flushed to the connection handle to RTserver, FALSE
otherwise.
If TipcSrvConnFlush fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvConnFlush flushes buffered outgoing messages on the connection handle to RTserver by calling TipcConnFlush. See TipcConnFlush for more information on flushing outgoing messages.
TipcSrvConnFlush may attempt to automatically create a connection to RTserver. If RTclient has a warm connection to RTserver, TipcSrvConnFlush returns FALSE
immediately. See TipcSrvConnOpen on automatic creation of connections and warm connections to RTserver.
None
TipcConnFlush, TipcSrvConnMsgSend
This example shows how to use TipcSrvConnFlush to flush a message to the connection handle to RTserver:
if (!TipcSrvConnMsgSend(srv, msg, TRUE)) {return
; /* error */
} if (!TipcSrvConnFlush(srv)) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |