Re: [firebird-support] fbclient: What to do after "Error readin / writing data to/ from the connection"

2017-07-26 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On 25-7-2017 16:12, Marsupilami79 marsupilam...@gmx.de 
[firebird-support] wrote:
> Hello,
> 
> some of my client seemingly have a faulty network and get the following 
> errors ocassionally when running my program while it tries to execute a query:
> 
> Error writing data to the connection.
> Error reading data from the connection.
> 
> What do I have to do from an fbclient point of view to gracefully close the 
> connection and release all ressources? Is this even the right list to ask 
> these questions?

As far as I am aware, this usually is not recoverable. Your only option 
is to try to detach, which might fail as well, but should deallocate any 
clientside resources.

Mark
-- 
Mark Rotteveel


[firebird-support] fbclient: What to do after "Error readin / writing data to/ from the connection"

2017-07-25 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Hello,

some of my client seemingly have a faulty network and get the following errors 
ocassionally when running my program while it tries to execute a query:

Error writing data to the connection.
Error reading data from the connection.

What do I have to do from an fbclient point of view to gracefully close the 
connection and release all ressources? Is this even the right list to ask these 
questions?

With best regards,

Jan