Subject Re: Checking connection in advance to connecting
Author georgethenorge
> Well...yes...the API will return an exception if the server
resource
is not
> available. Is there any reason why you can't put the call to IBO's
Connect
> method inside a try...except block and use this built-in facility?
:-)
>

That is what I have been doing for about a year now, and it has
worked
well. But now I have a customer with four sites and a strange
network. When the client lost the network, it would crash an hour
later. And they don't need the network - they are made to survive
and
do their jobs without contact for up to a couple of weeks. To
accomplish this, I made an auto-connect setup, where I use a TTimer
to
disconnect and reconnect, if the PING shows up OK. What happened is
that if I did it enough, app memory use would grow and grow. I can
reproduce the problem with a VPN client here at home.

I'll do whatever work I need to - where can I dig deeper?

-George