TipcSrvConnSubjectSetUnique


Name

TipcSrvConnSubjectSetUnique — set the unique subject of the connection to RTserver

Synopsis

T_BOOL TipcSrvConnSubjectSetUnique(srv, unique_subject) 
T_IPC_SRV srv; 
T_STR unique_subject; 

Arguments

srv — connection to RTserver

unique_subject — unique subject to set

Return Values

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

Diagnostics

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

Description

TipcSrvConnSubjectSetUnique sets the unique subject of the connection to RTserver.

Caution

None

See Also

TipcSrvConnCreate, TipcSrvConnSubjectGetUnique

Examples

This example sets the RTclient’s unique subject:

if (!TipcSrvConnSubjectSetUnique(srv, "/trader")) { 
  return;  /* error */ 
} 

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