TipcDispatcherDispatch dispatch triggered events and exit
dispatcher
the dispatcher
timeout
the amount of time to wait for triggered events
TRUE
if the dispatcher successfully dispatched events, FALSE
otherwise.
If TipcDispatcherDispatch fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcDispatcherDispatch immediately invokes any triggered events and then exits event if timeout
seconds has not elapsed. If there are no triggered events, it waits for up to timeout
seconds for events to be triggered.
This function can only be called from the same thread that created the dispatcher.
This example dispatches events:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |