TipcInitCommands create SmartSockets IPC commands
None
TRUE
if the SmartSockets IPC commands were successfully created, FALSE
otherwise.
If TipcInitCommands fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcInitCommands adds these IPC-specific commands to the SmartSockets command interface:
TipcInitCommands is useful for user-defined processes.
The commands created with TipcInitCommands (connect
, disconnect
, subscribe
, and unsubscribe
) act on the global connection unless received via a CONTROL message, in which case the command is applied to the connection on which it was received.
None
This example adds the IPC commands, connects to RTserver, and subscribes to the subject /foo
:
if (!TipcInitCommands()) {return
; /* error */
} TutCommandParseStr("connect"); TutCommandParseStr("subscribe /foo");
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |