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

I'm using MySQL++ and I'm trying (sometimes) to connect to a computer that
does not exist (e.g.: 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).


Connection timeoutDiego Gavinowich9 Jan
  • Re: Connection timeoutWarren Young9 Jan