# ppxRestoreConnections

Restores the connections specified in the configuration file.

#### Prototype

DWORD ppxRestoreConnections ( CTAHD ctahd )

Argument | Description
ctahd | Context handle returned by ctaCreateContext or ctaAttachContext.

#### Return values

Return value | Description
SUCCESS |
CTAERR_OUT_OF_MEMORY | Unable to allocate memory.
CTAERR_SVR_COMM | Natural Access server communication error.
PPXERR_COMM_FAILURE | Problems were encountered when communicating with the PPX server.

#### Details

ppxRestoreConnections restores the system to the connections specified in the PPX configuration file when the client exits. Refer to Restoring initial connections for more information.

#### See also

ppxDisconnect