Hi,
When we imp our systems using VNC we stumble into the same problem. To solve
this we added a KeepAlive msg to the RFB protocol. The message he a param
saying at what Freq the KA msg are going to arrive. When recv-ing this msg
we set Timeout on the recv socket.
On the sending side (both side send&recv KA) we open a timer and each time
that we send something the timer is reset and if the time expired then it
send a KA. All this imp is on Win32 systems but I'm sure that it can be done
on Xvnc also.
-Shay
-----Original Message-----
From: Lee Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 9:42 PM
To: [EMAIL PROTECTED]
Subject: Xvnc and timeout
I am using Xvnc in -inetd mode on Linux. I want (really I need) for the
server to detect when the client disconnects abnormally and, within some
reasonable time frame, shut down. This works fine when I close the viewer,
but not when the connection is broken.
Once Xvnc shuts down on the server, my xdm 'Xreset' script should shut down
the application.
Is there any way to do this?
Lee Allen
Leadtec Systems, Inc.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list to
[EMAIL PROTECTED] See also:
http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------