comparison src/myVncProxy/MyRfbProto.java @ 137:e97c0f82eaf0

modify MyRfbProto
author e085711
date Tue, 30 Aug 2011 19:01:36 +0900
parents d2decb2f0eb8
children 001f0b770f96
comparison
equal deleted inserted replaced
136:d2decb2f0eb8 137:e97c0f82eaf0
204 204
205 inNormalProtocol = true; 205 inNormalProtocol = true;
206 } 206 }
207 207
208 void sendRfbVersion(OutputStream os) throws IOException { 208 void sendRfbVersion(OutputStream os) throws IOException {
209 os.write(versionMsg_3_998.getBytes()); 209 // os.write(versionMsg_3_998.getBytes());
210 os.write(versionMsg_3_8.getBytes());
210 } 211 }
211 212
212 void readVersionMsg(InputStream is, OutputStream os) throws IOException { 213 void readVersionMsg(InputStream is, OutputStream os) throws IOException {
213 214
214 byte[] b = new byte[12]; 215 byte[] b = new byte[12];