Beispiel #1
0
 /**
  * Stop waiting for connections, close all connected clients, and close this server's {@link
  * ServerSocket}.
  *
  * @throws IOException if any socket is invalid.
  */
 public void kill() throws IOException {
   _running = false;
   _clients.killall();
   _botSocket.close();
   _socket.close();
 }