TipcSrvConnRead read all available data from the connection and queue messages in priority order
srv
connection handle to RTserver
timeout
maximum number of seconds to wait for data to arrive
TRUE
if data was successfully read from the connection to RTserver, FALSE
otherwise.
If TipcSrvConnRead fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvConnRead reads and queues all available messages from the connection to RTserver by calling TipcConnRead. See TipcConnRead for more information on reading data from a connection.
TipcSrvConnRead may attempt to automatically create a connection to RTserver. If RTclient has a warm connection to RTserver, TipcSrvConnRead sleeps for timeout
seconds and returns FALSE
. See TipcSrvConnOpen for more information on automatic creation of connections and warm connections to RTserver.
TipcSrvConnRead is a low-level function that is normally not used directly by developers; TipcSrvConnRead is normally called only by TipcSrvConnMsgNext and TipcSrvConnMsgSearch.
TipcConnRead, TipcSrvConnCheck, TipcSrvConnReadCbCreate
This example reads all data that is immediately available from the connection to RTserver with TipcSrvConnRead:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |