Setting connection structure properties

An application calls ct_con_props to set, retrieve, or clear connection structure properties.

Connection properties define various aspects of a connection’s behavior. For example:

When a connection structure is allocated, it picks up some default property values from its parent context. For example, if the CS_APPNAME property is set at the context level, all connection structures allocated from that context inherit the application name. Other properties that do not exist at the context level, such as CS_PACKETSIZE, default to standard Client-Library values.

For a complete list of connection properties, see the ct_con_props reference page in the Open Client Client-Library/C Reference Manual.