diff src/myVncProxy/VncProxyService.java @ 80:712a047908df

recompress output
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 03 Aug 2011 02:42:56 +0900
parents 5970410efee7
children 65cb34c3f7ab
line wrap: on
line diff
--- a/src/myVncProxy/VncProxyService.java	Fri Jul 29 19:17:31 2011 +0900
+++ b/src/myVncProxy/VncProxyService.java	Wed Aug 03 02:42:56 2011 +0900
@@ -106,7 +106,7 @@
 		}catch(Exception e){}
 
 		rfbThread = new Thread(this);
-		accThread = new Thread(new AcceptThread(rfb)); 
+		accThread = new Thread(new AcceptThread(rfb, 5999)); 
 
 	}
 	
@@ -353,7 +353,7 @@
 		int[] encodings = new int[20];
 		int nEncodings = 0;
 
-/*		
+
 		encodings[nEncodings++] = preferredEncoding;
 		if (options.useCopyRect) {
 			encodings[nEncodings++] = RfbProto.EncodingCopyRect;
@@ -367,11 +367,10 @@
 		if (preferredEncoding != RfbProto.EncodingHextile) {
 			encodings[nEncodings++] = RfbProto.EncodingHextile;
 		}
-*/
 		if (preferredEncoding != RfbProto.EncodingZlib) {
 			encodings[nEncodings++] = RfbProto.EncodingZlib;
 		}
-/*
+		/*
 		if (preferredEncoding != RfbProto.EncodingCoRRE) {
 			encodings[nEncodings++] = RfbProto.EncodingCoRRE;
 		}