TipcSrvConnCreate create an RTclient connection handle to an RTserver
T_IPC_SRV TipcSrvConnCreate(unique_subject
,project
,server_names
,default_subject_prefix
) T_STRunique_subject
; T_STRproject
; T_STRserver_names
; T_STRdefault_subject_prefix
;
unique_subject
unique subject to use for the connection, or NULL
to use the value of the Unique_Subject option
project
project to use for the connection, or NULL
to use the value of the Project option
server_names
comma delimited list of logical connection names to use for the connection, or NULL
to use the value of the Server_Names option
default_subject_prefix
default subject prefix to use for the connection, or NULL
to use the value of the Default_Subject_Prefix option
The new connection handle if successful, NULL
otherwise.
If TipcSrvConnCreate fails, it returns NULL
and sets the global SmartSockets error number to:
TipcSrvConnCreate creates an RTclient connection handle to an RTserver. The connection is not opened until TipcSrvConnOpen is called or until a function that requires a connection is called, such as TipcSrvConnMsgSend, and the Server_Auto_Connect option is set to TRUE
.
None
This example creates an RTclient/RTserver connection handle:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |