TipcSrvTraverseCbLookup


Name

TipcSrvTraverseCbLookup — look up a server names traverse callback

Synopsis

T_CB TipcSrvCreateCbLookup(func, arg) 
T_IPC_SRV_TRAVERSE_CB_FUNC func; 
T_CB_ARG arg; 

Arguments

func — callback function

arg — user-defined argument

Return Values

Callback if successful, NULL otherwise.

Diagnostics

If TipcSrvTraverseCbLookup fails, it returns NULL and sets the global SmartSockets error number to one of:

Description

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.

Caution

None

See Also

TipcSrvTraverseCbCreate; see the TIBCO SmartSockets Utilities for information on TutCbDestroy.

Examples

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