TipcSrvConnSubjectGetUnique get the unique subject of the connection to RTserver
T_BOOL TipcSrvConnSubjectGetUnique(srv
,unique_subject_return
) T_IPC_SRVsrv
; T_STR *unique_subject_return
;
srv
connection to RTserver
unique_subject_return
returned unique subject
TRUE
if the unique subject was successfully retrieved from the connection to RTserver, FALSE
otherwise.
If TipcSrvConnSubjectGetUnique fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcSrvConnSubjectGetUnique gets the unique subject of the connection to RTserver.
None
This example gets the RTclient’s unique subject:
T_STR unique_subject; if (!TipcSrvConnSubjectGetUnique(srv, &unique_subject)) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |