Hi,

Is it possible to detect the browser has close the connection?

What I am trying to do is to write a simple client/server app using
AOLserver. Commands and their response get sent via normal HTTP queries,
but I want the client to listen to a "status" channel: ie: open a
connection to a url that writes this out using ns_write. Ofcourse this his
to stop once the client disconnects. "ns_conn isconnected" doesn't seem to
do the trick (nor does the manual indicate it should, but it was worth a
try :)

Is there any way to do this? Or will I have to use plan B, which is to
close the connection myself after a minute or so and make the client
reconnect?

Thanks,
Bas.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to