ct_con_alloc allocates a connection structure. A connection structure contains information about a particular client/server connection.
ct_con_props sets and retrieves the property values of a connection. Connection properties include:
User name and password, which are used in logging into a server
Application name, which appears in Adaptive Server’s sysprocesses table
Packet size, which determines the size of network packets that an application sends and receives
Dynamic network driver (LU6.2, IBM TCP/IP, Interlink TCP/IP, CPI-C), which defines the type of the network used between Open ClientConnect and the server
Open ClientConnect includes a Connection Router where servers and server connections are defined.
For a complete list of connection properties, see the section “Properties” in Chapter 3, “Topics.”.
ct_connect opens a connection to a server, logging into the server with the connection information specified via ct_con_props.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |