Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

socket creation when library is loaded (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>