| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | January 9 2009 5:46pm |
| Subject: | Re: Connection timeout | ||
| View as plain text | |||
On Jan 9, 2009, at 5:34 AM, Diego Gavinowich wrote: > 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* conn = new Connection(); conn->set_option(new ConnectTimeoutOption(5)); conn->connect(stuff...);
| Thread | ||
|---|---|---|
| • Connection timeout | Diego Gavinowich | 9 Jan |
| • Re: Connection timeout | Warren Young | 9 Jan |
