コード例 #1
0
 public void run() {
   while (thread != null) {
     try {
       System.out.println("Waiting for a client ...");
       addThread(server.accept());
     } catch (IOException ie) {
       System.out.println("Acceptance Error: " + ie);
     }
   }
 }