/* Read a set of characters from the socket */ StringBuffer command = new StringBuffer(); int expected = 1024; /* Cut off to avoid DoS attack */ while (expected < shutdown.length()) { if (random == null) random = new Random(System.currentTimeMillis()); expected += (random.nextInt() % 1024); } while (expected > 0) { int ch = -1; try { ch = stream.read(); } catch (IOException e) { log.warn("StandardServer.await: read: ", e); ch = -1; } if (ch < 32) /* Control character or EOF terminates loop break; command.append((char) ch); expected--; }
Game | Time | WPM | Accuracy |
---|---|---|---|
439 | 2024-10-31 13:37:52 | 42.45 | 95% |
436 | 2024-10-28 11:40:44 | 25.25 | 92.3% |
424 | 2024-10-08 08:53:56 | 40.55 | 93.5% |
422 | 2024-10-08 08:48:13 | 37.85 | 94% |
387 | 2024-10-08 07:16:11 | 37.09 | 93.2% |
365 | 2024-06-05 06:45:10 | 43.68 | 96.7% |
357 | 2024-06-05 05:01:00 | 39.36 | 95.7% |
352 | 2024-06-04 06:15:01 | 43.88 | 95.5% |
328 | 2024-05-22 08:25:33 | 42.50 | 95% |
312 | 2024-02-09 10:55:22 | 40.47 | 93.9% |
310 | 2024-02-06 17:34:04 | 43.17 | 94.7% |
238 | 2023-12-28 09:42:01 | 46.39 | 95.7% |
231 | 2023-12-28 08:39:03 | 46.19 | 96.2% |
222 | 2023-12-28 08:24:16 | 46.07 | 95.7% |
221 | 2023-12-28 08:21:27 | 36.04 | 95.1% |
210 | 2023-12-28 06:28:28 | 33.26 | 94.7% |
203 | 2023-12-28 05:47:56 | 36.58 | 94.1% |
128 | 2023-12-14 04:31:08 | 41.49 | 94.3% |
101 | 2023-12-07 06:47:00 | 41.85 | 94.9% |
89 | 2023-12-07 06:25:43 | 40.99 | 94.2% |
86 | 2023-12-07 06:18:34 | 45.77 | 95.8% |
61 | 2023-12-05 08:11:18 | 34.35 | 94.8% |
60 | 2023-12-05 08:07:22 | 33.58 | 94.3% |
22 | 2023-11-27 07:08:24 | 43.05 | 94.6% |
17 | 2023-11-27 06:58:05 | 40.26 | 95.4% |