The connection process

Clients and servers communicate through a connection. For a client application to connect to a server application, the server application must be listening for the client connection request.

StepsMaking a connection from Open Client

  1. Use the DSQUERY environment variable to determine the name of the target server.

  2. Uses the sql.ini file or a directory service to obtain the address of the target server.

    NoteOpen Client uses DSQUERY only if the Open Client application does not specify the name of the server.

StepsListening for a request in Open Server

  1. Use the DSLISTEN environment variable to determine the name of the Open Server application.

  2. Use the sql.ini file or a directory service to obtain the Open Server application’s address.

NoteUse DSLISTEN only if the Open Server application does not specify a server during initialization.