On Friday 02 August 2002 12:37 pm, Edwin Leuven wrote:
> > Sorry about that. I'll fix and commit.
>
> Sorry for being thick.
>
> Could you explain when one would like to store the connection?
>
> Regards, Ed.
When you'd like to disconnect and connect to something else.
if (cp_.connected()) {
cp_.disconnect();
cp_.connect(...);
}
Or when the connection is made in a function called many times (ie, not in
the constructor) and you want to connect only once.
if (!cp_connected())
cp_.connect(...);
Angus