diff src/myVncClient/MyRfbProto.java @ 78:fe94e353d595

modify
author e085711
date Tue, 30 Aug 2011 18:33:24 +0900
parents 83acdeca0539
children a542f92500ab 143c52bf3a94
line wrap: on
line diff
--- a/src/myVncClient/MyRfbProto.java	Tue Aug 30 17:49:42 2011 +0900
+++ b/src/myVncClient/MyRfbProto.java	Tue Aug 30 18:33:24 2011 +0900
@@ -266,7 +266,8 @@
 	}
 
 	void sendRfbVersion(OutputStream os) throws IOException {
-		os.write(versionMsg_3_998.getBytes());
+//		os.write(versionMsg_3_998.getBytes());
+		os.write(versionMsg_3_8.getBytes());
 	}
 
 	void readVersionMsg(InputStream is) throws IOException {
@@ -367,7 +368,7 @@
 		rectW = readU16();           //  8
 		rectH = readU16();           //  10
 		encoding = readU32();      //   12
-		System.out.println("encoding = "+encoding);
+//		System.out.println("encoding = "+encoding);
 		if (encoding == EncodingZRLE|| encoding==EncodingZRLEE||encoding==EncodingZlib)
 			zLen = readU32();
 		else