Mercurial > hg > Members > nobuyasu > tightVNCClient
comparison src/myVncClient/EchoClient.java @ 65:4225c2fd3e16
modify CuiMyVncClient.java
author | e085711 |
---|---|
date | Fri, 05 Aug 2011 19:46:51 +0900 |
parents | 18a19d8a09f4 |
children | 4e31d8494360 |
comparison
equal
deleted
inserted
replaced
64:d19913a42a36 | 65:4225c2fd3e16 |
---|---|
71 is = new BufferedReader(new InputStreamReader(echoSocket.getInputStream())); | 71 is = new BufferedReader(new InputStreamReader(echoSocket.getInputStream())); |
72 } catch (UnknownHostException e) { | 72 } catch (UnknownHostException e) { |
73 System.err.println("Don't know about host: localhost"); | 73 System.err.println("Don't know about host: localhost"); |
74 } catch (IOException e) { | 74 } catch (IOException e) { |
75 System.out.println("接続に失敗しました"); | 75 System.out.println("接続に失敗しました"); |
76 System.err | 76 System.err.println("Couldn't get I/O for the connection to: localhost"); |
77 .println("Couldn't get I/O for the connection to: localhost"); | 77 System.exit(0); |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 /** | 81 /** |
82 * @param args | 82 * @param args |