How do applications use a directory service?

Information about Sybase servers is stored in the directory. When an application calls ct_connect to open a connection to a server, it passes the name of the server’s directory entry as the ct_connect server_name parameter. ct_connect looks up the entry and retrieves the server’s network address and any other information needed to establish the connection.

Applications can also search for available servers using Client-Library routines.