TSQLServer connection timeout

From: Diego Faso <faso_at_to.infn.it>
Date: Fri, 7 Jul 2006 09:51:09 +0200 (MET DST)


Hi, I'm using the TSQLServer class in order to connect to a remote mysql database: my only problem is that I can't set a timeout for the connection. Is there a way to set a timeout for "TSQLServer::Connect" method? I would like the "TSQLServer::Connect" method to exit after few seconds if the remote database is not available.

Here is my system configuration:
OS: Gentoo Base System version 1.6.15
kernel: 2.6.16-gentoo-r9
gcc: version 3.4.6
root version: 5.11/07

Thank you in advance, cheers.
Diego Received on Fri Jul 07 2006 - 09:51:29 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET