[Migrated content. Thread originally posted on 29 March 2005]
A little difficult problem:We have client-server programms.
Server is something like "@192.168.*".
And we have a Server on the internet (used for updates). Sounds like "@wwwserver.*".
If now a installation checks for a update, we open simply a textfile on the webserver an read the newest versionnumber.
Like: open "@wwwserver.*:home/files/text.txt" for input.
And of course close it afterwards.
it works and is stable, but if the client closes the file and the user leaves the form, the connetion is still alive.
A Netstat at our "webserver" shows the connection as establiched and alive until the user closes the hole programm (and therewith the runtime).
With these symptoms it is not easy to manage our updates. We never know if they are still updating oder have already left the "update"programm and are working with the "normal"programm.
Is there any way to close such a connetion without killing the local runtime (And stay connected with the "local"server)?
i hope i could explain my problem well enough.