Java Viewer
Jonathan Morton
chromatix "at" penguinpowered.com
Thu, 26 Oct 2000 14:03:38 +0000
>The stop() method in the Applet can be overridden to close the socket there.
>This method is called when the applet is replaced by another page.
>I have a suspicion however that some browsers (probably Netscape)
>may not call this properly, in which case you've had it. (or use the Java
>Plug-in).
That sounds like a good idea, actually. Netsape isn't affected by the
original problem, so this fix is safe.
>Anyway I don't think the odd socket floating around would cause too
>much in the way of resource hogging, as next time you connected
>(from anywhere), the VNC server would drop the connection.
It's not just a "spare socket" flying around - it's the entire applet,
still connected, still responding to the network, still sending
FrameBufferUpdateRequests and receiving network-hogging updates.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi "at" cyberspace.org (not for attachments)
big-mail: chromatix "at" penguinpowered.com
uni-mail: j.d.morton "at" lancaster.ac.uk
The key to knowledge is not to rely on people to teach you it.
Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/
-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------