# HG changeset patch # User one # Date 1327318124 -32400 # Node ID 3fca497f5f5bb0bdbcce757d4c0dcc1af25dc3c0 # Parent b5c446990c0a65f2a9fc8cbbe7506d35982df131 urasoe diff -r b5c446990c0a -r 3fca497f5f5b src/treeVnc/MyVncClient.java --- a/src/treeVnc/MyVncClient.java Mon Jan 23 19:58:50 2012 +0900 +++ b/src/treeVnc/MyVncClient.java Mon Jan 23 20:28:44 2012 +0900 @@ -68,13 +68,14 @@ } catch (InterruptedException e) { e.printStackTrace(); } - */ getBcast.setStopFlag(true); pHost = getBcast.text.getAddress(); port = Integer.parseInt(getBcast.text.getPort()); getBcast.socketClose(); -/* + */ + + if(mainArgs.length == 0) getBcast.setStopFlag(true); else { @@ -99,7 +100,7 @@ getBcast.socketClose(); // port = 5999; } -*/ + init(); start_threads(); start();