Search found 1 match

by aktivo
21.10.2010, 10:09
Forum: ZDBC (ZEOS Database Connectivity)
Topic: How to detect connection lost if network cable is unplugged?
Replies: 2
Views: 2327

How to detect connection lost if network cable is unplugged?

I'm using ZeosDBO 6.6.6 stable with C++Builder 2007.

I have application connected to PostgreSQL, when i unplug network cable, ZConnection.Connected property is still = true.

If i try ZConnection.PingServer() exception is raised.