Mercurial > hg > Members > nobuyasu > tightVNCClient
changeset 31:bf1126d1e721
modify MyVncClient.java
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 06 Jul 2011 15:07:31 +0900 |
parents | a335a1038a23 |
children | 6ddc79804a08 |
files | src/myVncClient/MyVncClient.java |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/myVncClient/MyVncClient.java Wed Jul 06 12:30:17 2011 +0900 +++ b/src/myVncClient/MyVncClient.java Wed Jul 06 15:07:31 2011 +0900 @@ -669,10 +669,13 @@ port = readIntParameter("PORT", 5550); */ + if(mainArgs.length > 0)host = mainArgs[0]; + else host = "cls080.ie.u-ryukyu.ac.jp"; + if(value==null){ if(clientSocket==null) { - echo = new echoClient(mainArgs[0]); + echo = new echoClient(host); echo.openport(); // value = echo.hostn(mainArgs[0]); value = echo.hostn("1");