Example: nca_connect_serverConnection Functions

Connects to an Oracle NCA database server.

int nca_connect_server( LPCSTR host, LPCSTR port, LPCSTR command_line );
host The host name or IP address of the database server.
port The port number of the database server.
command_line The command line specified when starting the application.

The nca_connect_server function connects to an Oracle NCA database server using the specified host, port number, and module.

Return Values

Oracle NCA Error Codes


All arguments of this function may be parameterized using standard parameterization.