TipcSrvConnSetProject


Name

TipcSrvConnSetProject — set the project of the connection to RTserver

Synopsis

T_BOOL TipcSrvConnSetProject(srv, project) 
T_IPC_SRV srv; 
T_STR project; 

Arguments

srv — connection to RTserver

project — project to set

Return Values

TRUE if the project was successfully set for the connection to RTserver, FALSE otherwise.

Diagnostics

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

Description

TipcSrvConnSetProject sets the project of the connection to RTserver.

Caution

None

See Also

TipcSrvConnCreate, TipcSrvConnGetProject

Examples

This example sets the RTclient’s project:

if (!TipcSrvConnSetProject(srv, "development")) { 
  return;  /* error */ 
} 

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