Hi
I have a custom c++ application that uses mysql-connector-c++/1.1.5 as a shared object to communicate with our db.
I saw in the debugger that when I run my program, when the library gets loaded it tries to create a linux socket. Even before main() of my application has been called. It looks like that there is some code in the _init() section of the library.
Can someone throw some light on what exactly is the library trying to do here?
I want to defer these socket calls till after main() has been called. Is there a way to do that?
I am running on Linux SL 7.
Thanks
Ankit Pradhan
I have a custom c++ application that uses mysql-connector-c++/1.1.5 as a shared object to communicate with our db.
I saw in the debugger that when I run my program, when the library gets loaded it tries to create a linux socket. Even before main() of my application has been called. It looks like that there is some code in the _init() section of the library.
Can someone throw some light on what exactly is the library trying to do here?
I want to defer these socket calls till after main() has been called. Is there a way to do that?
I am running on Linux SL 7.
Thanks
Ankit Pradhan