Subject Re: [IBO] Ability to ping remote server
Author Paul Coshott
Hi Marcin,

Thanks, I will try this. I am currently using a separate thread to run a simple query, but if the main thread is trying to do something just as the second thread fires the query, the connection crashes.
I'll try your idea.

Cheers,
Paul

--- In IBObjects@yahoogroups.com, Marcin Bury <mbury@...> wrote:
>
> Paul
>
> I have simple query that I execute every minute (via timer). Not
> noticable by users...
>
> Marcin
>
> W dniu 17.02.2011 08:55, paul.coshott pisze:
> > Hi All,
> >
> > can anybody tell me if it is possible to ping a remote server periodically to keep my connection alive.
> > If I don't access the remote connection for around 20 minutes, I lose the connection.
> > If there is no ping type functionality, what methods are used to maintain a connection.
> >
> > Thanks for any help,
> > Pual
> >
> >
> >
> > ------------------------------------
> >
> > ___________________________________________________________________________
> > IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> > without the need for BDE, ODBC or any other layer.
> > ___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> > keyword-searchable FAQ, community code contributions and more ! Yahoo! Groups Links
> >
> >
> >
>