TipcSrvConnSetGmdDirName set the GMD area sub-directory name of the connection to RTserver
srv
connection handle to RTserver
gmd_dir_name
sub-directory name of the connection to RTserver's GMD area
TRUE
if the GMD area sub-directory name was successfully set for the connection to RTserver, FALSE
otherwise.
If TipcSrvConnSetGmdDirName fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvConnSetGmdDirName is used to set the GMD area sub-directory file name to a unique value for each connection to RTserver.
By default the GMD area sub-directory name is the RTclient’s unique subject. However, file conflicts occur when an RTclient process using multiple connections and file-based GMD shares the same unique subject and project on each connection. Multiple connections sharing the same unique subject and project are only allowed when each connection connects to a different RTserver cloud. In that case, TipcSrvConnSetGmdDirName must be called to set the GMD area sub-directory to a unique value for each connection.
None
This example sets the GMD area sub-directory of the connection to RTserver:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |