Subject | Re: [IBO] Re: auto reconnect |
---|---|
Author | Lester Caine |
Post date | 2005-12-15T20:49:41Z |
d_dude_2003 wrote:
can be quite fun. I have an arrangement which drops the program when a
connection is lost, and then the program gets restarted when my version
of 'guardian' gets messages again from the server computer.
Basically though you need to trap the errors when using the connection,
and decided what to do. If the error says no connection, then all you
can do currently is roll back - wait a bit - then retry connecting. If
you have the data that you were trying to work with cached in your own
code, then you can try again.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> Anyone can give advice on this? Thanks...Well Jason has not managed to incorporate it into IBO yet - because it
can be quite fun. I have an arrangement which drops the program when a
connection is lost, and then the program gets restarted when my version
of 'guardian' gets messages again from the server computer.
Basically though you need to trap the errors when using the connection,
and decided what to do. If the error says no connection, then all you
can do currently is roll back - wait a bit - then retry connecting. If
you have the data that you were trying to work with cached in your own
code, then you can try again.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.