Easysoft ODBC-ODBC Bridge

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

Last Reviewed:
10th January 2024


The Easysoft ODBC-ODBC Bridge client connects to the ODBC-ODBC Bridge server during the call to SQLDriverConnect. After SQLDriverConnect returns, a socket is opened 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 send 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)