List:MySQL++« Previous MessageNext Message »
From:Tom Lachecki Date:September 29 2010 8:36am
Subject:Re: ConnectTimeoutOption
View as plain text  
On 28/09/2010 19:13, Warren Young wrote:
> On 9/28/2010 11:26 AM, Tom Lachecki wrote:
>> I'm reading section 3.15 in the tutorial and I'm a little
>> confused.
> Yeah, well, you're not the only one. I wrote it, and I was
> clearly also a little confused.
>> The prose suggests that "ConnectTimeoutOption" is an
>> option to control
>> the idle time-out of the connection to the mysql server.
>> However the
>> name implies that it is an option to control the timeout
>> of a call to
>> connect().
> It's the latter. ConnectTimeoutOption solves your problem.
> For the interested, I've replaced the recommendation with this:
> [snip]

Hehe, great! I'm glad that (a) the option does what I was 
hoping it does, and that (b) I'm not going mental.

Many thanks
ConnectTimeoutOptionTom Lachecki28 Sep
  • Re: ConnectTimeoutOptionWarren Young28 Sep
    • Re: ConnectTimeoutOptionTom Lachecki29 Sep