List:MySQL++« Previous MessageNext Message »
From:Diego Gavinowich Date:January 9 2009 12:34pm
Subject:Connection timeout
View as plain text  
Hi,

I'm using MySQL++ and I'm trying (sometimes) to connect to a computer that
does not exist (e.g.: 10.0.0.4 and that address is not in the network).
The operating system timeout seems to be too high, I would like to know if
there is a way to force an exception in MySQL++ in case doing *new
Connection("dbname", "host", "user", "passwd", port);* takes a long time
(more than X seconds).

Thanks!,
Diego

Thread
Connection timeoutDiego Gavinowich9 Jan
  • Re: Connection timeoutWarren Young9 Jan