TipcConnSetTimeout set a timeout property of a connection
T_BOOL TipcConnSetTimeout(conn
,timeout
,value
) T_IPC_CONNconn
; T_IPC_TIMEOUTtimeout
; T_REAL8value
;
conn
connection to set timeout for
timeout
which timeout property to set
value
timeout value (in seconds)
TRUE
if the timeout property was successfully set for the connection, FALSE
otherwise.
If TipcConnSetTimeout fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcConnSetTimeout sets a timeout property of a connection. The timeout properties control how often (in seconds) the connection is checked for possible network failures.
timeout
is T_IPC_TIMEOUT_READ, TipcConnSetTimeout sets the read timeout of a connection. timeout
is T_IPC_TIMEOUT_WRITE, TipcConnSetTimeout sets the write timeout of a connection. timeout
is T_IPC_TIMEOUT_KEEP_ALIVE, TipcConnSetTimeout sets the keep alive timeout of a connection. timeout
is T_IPC_TIMEOUT_DELIVERY, TipcConnSetTimeout sets the delivery timeout of a connection.See TipcConnGetTimeout for information on connection timeouts.
None
TipcConnCheck, TipcConnFlush, TipcConnGetTimeout, TipcConnRead
This sets the read timeout of a connection with TipcConnSetTimeout to 10 seconds:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |