Mercurial > hg > Members > nobuyasu > tightVNCClient
changeset 84:143c52bf3a94
modify MyVncClient.java
author | one |
---|---|
date | Thu, 01 Sep 2011 17:40:02 +0900 |
parents | 3bfe8845684c |
children | ba6e672cc47c |
files | src/myVncClient/MyRfbProto.java src/myVncClient/MyVncClient.java |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/myVncClient/MyRfbProto.java Wed Aug 31 15:15:23 2011 +0900 +++ b/src/myVncClient/MyRfbProto.java Thu Sep 01 17:40:02 2011 +0900 @@ -138,7 +138,7 @@ void changeParent(String h, int p) throws IOException { host = h; port = p; - + sock = new Socket(host, port); is = new DataInputStream(new BufferedInputStream(sock.getInputStream(), 16384));
--- a/src/myVncClient/MyVncClient.java Wed Aug 31 15:15:23 2011 +0900 +++ b/src/myVncClient/MyVncClient.java Thu Sep 01 17:40:02 2011 +0900 @@ -132,6 +132,8 @@ }else { System.out.println("reConnectAndAuthenticate() "); reConnectAndAuthenticate(); + accThread = new Thread(new AcceptThread(rfb, 5999)); + accThread.start(); } doProtocolInitialisation();