comparison src/myVncClient/MyRfbProto.java @ 84:143c52bf3a94

modify MyVncClient.java
author one
date Thu, 01 Sep 2011 17:40:02 +0900
parents fe94e353d595
children 29e43be288ca
comparison
equal deleted inserted replaced
80:3bfe8845684c 84:143c52bf3a94
136 136
137 137
138 void changeParent(String h, int p) throws IOException { 138 void changeParent(String h, int p) throws IOException {
139 host = h; 139 host = h;
140 port = p; 140 port = p;
141 141
142 sock = new Socket(host, port); 142 sock = new Socket(host, port);
143 is = new DataInputStream(new BufferedInputStream(sock.getInputStream(), 143 is = new DataInputStream(new BufferedInputStream(sock.getInputStream(),
144 16384)); 144 16384));
145 os = sock.getOutputStream(); 145 os = sock.getOutputStream();
146 146