Easysoft ODBC-ODBC Bridge

Can I fork child processes after SQLDriverConnect and use the connection handle in each one?

Article:
00126
Last Reviewed:
28th October 2008
Revision:
4

No.

The OOB client connects to the OOB server during the call to SQLDriverConnect. After SQLDriverConnect returns, a socket is open between the client and server. If you then fork children they inherit the dbc and open socket. If the children use the dbc in further calls to SQL functions this will cause multiple processes to be sending data down the same socket. This just will not work. You need to make the call to SQLDriverConnect in each child.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)


Oracle is a registered trademark of Oracle Corporation and/or its affiliates.