If a client does not call the server in x minutes, you will get an error -18 at the next call.
Is there any good way to stay connected?
ConnectionTimeOut = Number Minutes --- Control the number of minutes the server will wait to receive a message from an active connection. Default is 30. Set to -1 if you want to never timeout.
The server works so well, so you forget that there is an SQLiteningServer.Cfg. Now I have changed to Timout = -1.
Thanks for the help.
Then there's another thing, why should you have a TimOut at all?
Some programs connect, do something, disconnect to allow many more clients or free memory on server.
The time-out terminates a connection if a client doesn't do anything within an expected time period.
Both methods have advantages, but if connect time is very small I'd connect, do something, disconnect.
On a local network it might make more sense to stay connected.
Thank you for the clarification.