--- experimental/server/ACL/ACLTest.java 2001/12/31 01:49:13 1.5 +++ experimental/server/ACL/ACLTest.java 2001/12/31 02:57:00 1.6 @@ -65,15 +65,21 @@ class ACLTest { System.out.println("192.168.1.1: " + acl.check("192.168.1.1")); // setup an ACLServerSocket putting our ACL in + // and an ACLDatagramSocket (which we'll test better later) ACLServerSocket ss = null; + ACLDatagramSocket ds = null; try { ss = new ACLServerSocket(acl, 1337); + ds = new ACLDatagramSocket(acl, 1337); } catch(IOException e) { System.out.println("exception: " + e); e.printStackTrace(); System.exit(1); } + + System.out.println(ss); + System.out.println(ds); // start listening // valid connections (allowed by ACL) will get a message sent back