Hi there. The program I wrote is used to access a remote database via a TCP connection. No prolems 'til the time someone decided to build a firewall around the DB and to apply a timeout policy for low traffic connections. So, if my application doesn't query the DB for an hour, the firewall emits a RST packet and drops down the connection. What's better ?
- to edit all the source code (I have many programs like the one above) to periodically 'ping' the DB
- to write a new layer that behaves like a proxy and periodically 'pings' the DB; by this way the original code is safe...
- to develop something able to manage the RST packets
Any other solution is clearly welcome! Thanx everyone for answering me. n.dzl