Subject Re: Socket closed error with Interclient
Author rrokytskyy
> I am getting this erro while trying to read/write database:
> interbase.interclient.CommunicationException: [interclient]
Communication error: An
> IO exception occurred while trying to receive data from server
> The message of the IOException is "socket closed (code=0)".
> Any ideas?

How long lives your connection? Does your TCP/IP configuration have
any timeouts on idle sockets? There was an issue when long-lived
socket connections were closed by Linux because of idle timeout.

Can you try InterClient 2.5 from InterBase 6.5 distribution (trial
available on Borland's site)? If it is there and you believe that
this is InterClient bug (for example you can create standalone test
case that reproduces this problem) you should contact Borland's

Have you tried our type 4 driver? Do you have problems with it?

Best regards,
Roman Rokytskyy