Transport address

The transport address attribute is used by ct_connect to establish a connection to the server. The transport address attribute may have multiple transport address values.

NoteIn an SDC environment in which the client specifies the SSL certificate common name independent of the server name or the SDC instance name, the client uses the transport address to specify the common name used in the certificate validation.

Client-Library applications view the transport address value as a CS_TRANADDR structure. For details on the format of the structure, see “Transport address values” on page 474.


Multiple transport address types

The server may allow connecting over multiple network transport types. Your network installation and the Sybase network driver configuration determines which transport types are used by Client-Library on your system. For more information, see the Open Client and Open Server Configuration Guide for Microsoft Windows or Open Client and Open Server Configuration Guide for UNIX more information.


Standby server addressing

The server entry may contain multiple address values for use with your network configuration. In this case, ct_connect tries to connect to each eligible address in turn, repeating if necessary, until one of the following conditions are satisfied:

The CS_LOOP_DELAY connection property sets a time in seconds for Client-Library to wait before beginning the sequence again. Client-Library does not wait between trying individual addresses in the sequence.

See “Retry count” and “Loop delay” for a description of the CS_RETRY_COUNT and CS_LOOP_DELAY properties.