3.1.5.2.1 Receiving a CPMConnectIn Request

When the server receives a CPMConnectIn request from a client, the server MUST do the following:

  1. Check whether the client is already on the list of connected clients. If this is the case, the server MUST report a STATUS_INVALID_PARAMETER (0xC000000D) error.

  2. Check whether the specified catalog exists and is not in the stopped state. If this is not the case, the server MUST report a CI_E_NO_CATALOG (0x8004181D) error.

  3. Add the client to the list of connected clients.

  4. Associate the catalog with the client.

  5. Store the information passed in the CPMConnectIn message (such as catalog name or client version) in the client state.

  6. Respond to the client with a CPMConnectOut message.