TipcSrvConnCreateNamed creates a named RTclient connection handle to an RTserver
name
string representing the name of the connection
The new connection handle is returned.
None
TipcSrvConnCreateNamed creates a named RTclient connection handle to an RTserver. The name is associated with named options, which are set by the SETNOPT command or by setting an option that was looked up by TutOptionNamedLookup. 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 a named RTclient/RTserver connection handle:
T_IPC_SRV srv; TutCommandParseStr("setnopt client Unique_subject /trader"); TutCommandParseStr("setnopt client Server_Names tcp:moe, tcp:larry"); srv = TipcSrvConnCreateNamed("client");
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |