コード例 #1
0
ファイル: Server.java プロジェクト: odonnec6/dist-Sys1
 public void run() {
   while (thread != null) {
     try {
       System.out.println("Waiting for a client ...");
       addThread(server.accept());
     } catch (IOException ioe) {
       System.out.println("Server accept error: " + ioe);
       stop();
     }
   }
 }