Mercurial > hg > Members > nobuyasu > tightVNCProxy
comparison src/myVncProxy/MyRfbProto.java @ 47:b2bf4e44504a
modify MyRfbProto.java and acceptThread.java , add sendSecResult
author | e085711 |
---|---|
date | Wed, 06 Jul 2011 11:18:39 +0900 |
parents | 11da7dacbc1a |
children | 089bd4510538 |
comparison
equal
deleted
inserted
replaced
46:11da7dacbc1a | 47:b2bf4e44504a |
---|---|
226 void readSecType(InputStream is) throws IOException { | 226 void readSecType(InputStream is) throws IOException { |
227 byte[] b = new byte[1]; | 227 byte[] b = new byte[1]; |
228 is.read(b); | 228 is.read(b); |
229 | 229 |
230 } | 230 } |
231 void sendSecResult(OutputStream os) throws IOException { | |
232 byte[] b = castIntByte(0); | |
233 os.write(b); | |
234 } | |
231 | 235 |
232 void readClientInit(InputStream in) throws IOException { | 236 void readClientInit(InputStream in) throws IOException { |
233 byte[] b = new byte[0]; | 237 byte[] b = new byte[0]; |
234 in.read(b); | 238 in.read(b); |
235 } | 239 } |