TipcSrvConnSetServerNames


Name

TipcSrvConnSetServerNames — set the server names of a connection to RTserver

Synopsis

T_BOOL TipcSrvConnSetServerNames(srv, server_names) 
T_IPC_SRV srv; 
T_STR server_names; 

Arguments

srv — connection to RTserver

server_names — comma delimited string of server names

Return Values

TRUE if the server names were successfully set for the connection to RTserver, FALSE otherwise.

Diagnostics

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

Description

TipcSrvConnSetServerNames sets the server names of the connection to RTserver.

Caution

None

See Also

TipcSrvConnCreate, TipcSrvConnGetServerNamesList

Examples

This example sets the RTclient’s server names:

if (!TipcSrvConnSetServerNames(srv, "tcp:moe, tcp:larry, 
                               tcp:curly")) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com