Detecting unexpectedly closed sockets

Björnke von Gierke bvg at mac.com
Fri Oct 15 18:21:52 EDT 2004


On Oct 16 2004, at 00:13, Tomas Franzén wrote:

> ...
> Do the server need to "manually" send some kind of reoccurring message 
> to the client, and wait for an answer, to verify the connection?
> My tests were done using Windows 2000 Pro.
> ...

Yes its called a ping message, and most server/client connection have 
something like that. With chatrev I used a timer, which then closes the 
socket if since the last timer event no message was received.

<>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<>
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.2.rev"


More information about the use-livecode mailing list