TipcSrvSetTimeout set a timeout property of the connection to RTserver
timeout
which timeout property to set
value
timeout
value (in seconds)
TRUE
if timeout
was successfully set for the connection to RTserver, FALSE
otherwise.
If TipcSrvSetTimeout fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvSetTimeout sets a timeout property of the connection to RTserver by setting one of the options: Server_Read_Timeout, Server_Write_Timeout, Server_Keep_Alive_Timeout, and Server_Delivery_Timeout. The timeout properties control how often the connection to RTserver is checked for possible network failures. See TipcSrvGetTimeout for more information on connection timeouts.
TipcSrvSetTimeout may attempt to automatically create a connection to RTserver. If RTclient has a warm connection to RTserver, TipcSrvSetTimeout sets a timeout property of the warm connection. See TipcSrvCreate for information on automatic creation of connections and warm connections to RTserver.
None
TipcConnSetTimeout, TipcSrvGetTimeout
This sets the read timeout of the connection to RTserver with TipcSrvSetTimeout to 10 seconds:
An alternate way to set the read timeout of the connection to RTserver is to set the option Server_Read_Timeout.
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |