Adrian,

That's not what Nik was describing - I'd already covered the use of a
keep-alive & timeout mechanism in an earlier mail. :)

TCP connections won't shutdown in the absence of traffic at all, on most
systems, unless the program is actively trying to send data, in which case
there's normally a timeout of about four minutes or thereabouts.  The
two-hour timeout you refer to sounds like an inactivity-timer (equivalent to
VNC Server's IdleTimeout) built-in either to the software you're using or
possibly even to the system.

Regards,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Phillips
> Sent: 09 March 2006 09:12
> To: [email protected]
> Subject: Re: How to terminate VNC sessions immediately at 
> network connection drop
> 
> >>>>> "James" == James Weatherall <[EMAIL PROTECTED]> writes:
> 
>     James> Nik,
>     >> The solution I'd like, however, is that Xvnc terminates as soon
>     >> as the other endpoint (the machine that runs vncviewer) goes
>     >> away (as in - network cable is unplugged). I am surprised that
>     >> this does not happen, especially if the vncviewer-Xvnc is a TCP
>     >> connection.
> 
>     James> Why are you surprised?  Is there some feature of TCP that
>     James> we're not aware of that would allow it to detect that the
>     James> computer running the computer was no longer accessible?
> 
> Well, ssh implements timeouts (ServerAliveInterval amongst others)
> above the normal TCP mechanism so it is technically feasible to do
> it. The standard TCP timeouts (at least a few years ago the default
> timeout was 2 hours) are way too long for many applications.
> 
> Sincerely,
> 
> Adrian
> 
> -- 
> Who really wrote the works of William Shakespeare ?
> http://www.pbs.org/wgbh/pages/frontline/shakespeare/
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to