TipcDispatcherSrvAdd add an RTserver connection to a dispatcher
dispatcher
the dispatcher
srv
connection to the RTserver
TRUE
if the RTserver connection was successfully added to a dispatcher, FALSE
otherwise.
If TipcDispatcherSrvAdd fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcDispatcherSrvAdd adds an RTserver connection to a dispatcher. A dispatcher reads messages from multiple connections at one time and is an alternative to calling TipcSrvConnMainLoop, or TipcSrvConnMsgNext, TipcSrvConnMsgProcess and TipcMsgDestroy on each connection individually.
Calling TipcSrvConnMsgNext, TipcSrvConnMsgSearch, TipcSrvConnMsgSearchType, TipcSrvConnMsgSendRpc or TipcSrvConnMainLoop might cause a dispatcher to block until the called function returns.
TipcDispatcherSrvRemove, TipcDispatcherDispatch, TipcDispatcherMainLoop
This example adds an RTserver connection to a dispatcher:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |