Add properties KeepAlive + KeepAliveInterval (maintain the connection)
The component should TUniConnection every 3000 ms (for example) to send to the server any single request (for example, "select 1 from dual"), to the gateway and the server is "seen" that the connection is active and the client is connected.
RUS:
Компонента TUniConnection должна, каждые 3000 мс (к примеру) отправлять на сервер какой-нибудь холостой запрос (к примеру, "select 1 from dual"), чтобы шлюз и сервер "видел", что соединение активно и клиент подключен.
Сообщение на форуме: http://www.devart.com/ru/forums/viewtopic.php?p=2081#2081
![](https://secure.gravatar.com/avatar/3972bac9bb64c0f9ffc09182995674ef?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Dorin Marcoci commented
Так что мешает поставить на таймер один Query с холостым запросом?
Здесь скорее шлюз надо править.
Если сокет клиента не отключен, значит соединение активное.