TipcSrvTraverseCbLookup look up a server names traverse callback
func
callback function
arg
user-defined argument
Callback if successful, NULL
otherwise.
If TipcSrvTraverseCbLookup fails, it returns NULL
and sets the global SmartSockets error number to one of:
TipcSrvTraverseCbLookup looks up a server names traverse callback with the given function and argument. These callbacks are called just before an RTclient attempts to create a warm or full connection to an RTserver. See TipcSrvTraverseCbCreate for more information on server names traverse callbacks.
None
TipcSrvTraverseCbCreate; see the TIBCO SmartSockets Utilities for information on TutCbDestroy.
This example looks up a server names traverse callback:
T_CB cb; cb = TipcSrvTraverseCbLookup(my_server_traversal_cb, NULL); if (cb == NULL) {return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |