Mercurial > hg > Members > nobuyasu > tightVNCProxy
diff 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 |
line wrap: on
line diff
--- a/src/myVncProxy/MyRfbProto.java Wed Jul 06 10:56:44 2011 +0900 +++ b/src/myVncProxy/MyRfbProto.java Wed Jul 06 11:07:55 2011 +0900 @@ -223,6 +223,12 @@ // 1:None os.write(1); } + void readSecType(InputStream is) throws IOException { + byte[] b = new byte[1]; + is.read(b); + + } + void readClientInit(InputStream in) throws IOException { byte[] b = new byte[0]; in.read(b);