Is it possible to create pointer of DBClientConnection and use it in multiply threads?
DBClientConnection
connection = new DBClientConnection(); connection->co
No. DBClientConnection is not thread safe and should not be shared with more than one thread. You might also want to check ScopedDbConnection, which is backed by a connection pool and closes the socket for you upon destruction.