I was affraid of that... Thanks for looking into it though! If I end up
creating the app, I'll just do a close every minute and make the client
reconnect if it still needs it.

Cheers,
Bas.

Elizabeth Thomas said:
> FWIW, I looked into this a bit to see if we could detect when AOLserver
> was sending a reply back to a browser which had timed out or was
> otherwise no longer waiting for the reply (e.g. user hit 'stop' or
> 'back'). In the current code (running on solaris), the server doesn't
> recognize this - the send() of the reply still executes successfully.
>
> -Elizabeth
>
> Dossy wrote on 3/29/04, 9:05 PM:
>
>  > On 2004.03.29, Bas Scheffers <[EMAIL PROTECTED]> wrote:
>  > >
>  > > Is it possible to detect the browser has close the connection?
>  >
>  > Write to the socket.  If the peer has closed the connection, you should
>  > get a SIGPIPE or somesuch.
>  >
>  > Of course, the client can disappear *without* closing the connection
>  > (dial-up disconnect abruptly) ... but eventually (after 2MSL or
> whatever
>  > you have your kernel tuned to) the system will time-out the socket and
>  > it'll appear disconnected.
>  >
>  > Does AOLserver bubble up the error writing to the socket back to the
>  > thread doing the writing (preferably as a Tcl error that can be
> catch'ed
>  > -- er, caught)?  That'd probably be really annoying, now that I think
>  > about it, in the normal case.
>  >
>  > -- Dossy
>  >
>  > --
>  > Dossy Shiobara                       mail: [EMAIL PROTECTED]
>  > Panoptic Computer Network             web: http://www.panoptic.com/
>  >   "He realized the fastest way to change is to laugh at your own
>  >     folly -- then you can let go and quickly move on." (p. 70)
>  >
>  >
>  > --
>  > 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.
>
>
> --
> 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.
>


--
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