Catch exception on DNS lookup failure (ticket #2399)
Add support for specifying server in CLI (ticket #2413)
Finals and javadocs
This commit is contained in:
zzz
2019-01-27 14:25:48 +00:00
parent efb1b7c24a
commit 0889a751db
6 changed files with 103 additions and 53 deletions

View File

@@ -318,13 +318,17 @@ public class Tcpbw100 extends JApplet implements ActionListener {
/**
* public static void main for invoking as an Application
* @param args String array of command line arguments
* */
* @throws IllegalArgumentException on bad hostname
**/
public static void main(String[] args) {
Tcpbw100 test = mainSupport( args );
test.runIt();
}
/** bigly */
/**
* bigly
* @throws IllegalArgumentException on bad hostname
**/
public static Tcpbw100 mainSupport(String[] args) {
JFrame frame = new JFrame("ANL/Internet2 NDT (applet)");
boolean useSSL = args.length > 0 && args[0].equals("-s");