setnopt


Name

setnopt — view or set the value of a named option

Synopsis

Supported for RTclient:

setnopt name 
setnopt name option 
setnopt name option value 

Description

The setnopt command is used to view or set the value of a named option. Named options allow a group of options and their values to be associated with an arbitrary name. You must specify that arbitrary name when using the setnopt command. If the name has not been associated with that option before, the setnopt command creates the association in addition to displaying or setting the option’s value. The setnopt command can be called in these ways:

Caution

If an option’s value is a list of items, the items must be separated with commas (value1, value2, ...).

To prevent irreversible damage to your SmartSockets system, this command should not be specified with the Enable_Control_Msgs option without careful supervision.

See Also

helpopt

Examples

Within a command file, two sets of named options are created:

/* Option values for name client_1 */ 
setnopt client_1 unique_subject /trader_1 
setnopt client_1 server_names tcp:moe, tcp:larry, tcp:curly 
 
/* Option values for name client_2 */ 
setnopt client_2 unique_subject /trader_2 
setnopt client_2 server_names tcp:moe, tcp:larry, tcp:curly 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com