comparison src/myVncProxy/MyRfbProto.java @ 46:11da7dacbc1a

modify MyRfbProto.java and acceptThread.java add readSecType
author e085711
date Wed, 06 Jul 2011 11:07:55 +0900
parents b16072ddc911
children b2bf4e44504a
comparison
equal deleted inserted replaced
45:b16072ddc911 46:11da7dacbc1a
221 os.write(1); 221 os.write(1);
222 // security-types 222 // security-types
223 // 1:None 223 // 1:None
224 os.write(1); 224 os.write(1);
225 } 225 }
226 void readSecType(InputStream is) throws IOException {
227 byte[] b = new byte[1];
228 is.read(b);
229
230 }
231
226 void readClientInit(InputStream in) throws IOException { 232 void readClientInit(InputStream in) throws IOException {
227 byte[] b = new byte[0]; 233 byte[] b = new byte[0];
228 in.read(b); 234 in.read(b);
229 } 235 }
230 236