comparison src/myVncClient/EchoClient.java @ 88:d3e806372657

update
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Sat, 10 Sep 2011 04:04:09 +0900
parents 6c43d40abfe6
children 405ead268439 3c4bebe9bf15
comparison
equal deleted inserted replaced
87:6c43d40abfe6 88:d3e806372657
108 /** 108 /**
109 * @param args 109 * @param args
110 * select connect port 110 * select connect port
111 * @return 111 * @return
112 */ 112 */
113 EchoClient hostn(String args) { 113 EchoClient requestHostName(String args) {
114 // サーバーにメッセージを送る 114 // サーバーにメッセージを送る
115 if (echoSocket != null && os != null && is != null) { 115 if (echoSocket != null && os != null && is != null) {
116 try { 116 try {
117 // ip情報を取得する 117 // ip情報を取得する
118 InetAddress addr = InetAddress.getLocalHost(); 118 InetAddress addr = InetAddress.getLocalHost();