Setting up the Client-Library programming environment  Sending a command to the server

Chapter 1: Open ClientConnect Processing

Connecting to a server

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:

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. Sending a command to the server

View this book as PDF