/* 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 |
---|---|---|---|
355 | 2025-01-12 07:47:02 | 52.34 | 95.4% |
326 | 2025-01-10 19:58:23 | 47.16 | 96.3% |
285 | 2025-01-07 09:55:39 | 72.02 | 97.5% |
255 | 2024-12-24 08:29:41 | 57.33 | 94.6% |
241 | 2024-12-22 19:06:36 | 60.03 | 94.9% |
219 | 2024-12-20 10:55:21 | 58.22 | 95.7% |
215 | 2024-12-12 20:56:52 | 53.86 | 95.2% |
208 | 2024-12-12 13:21:50 | 54.65 | 95% |
116 | 2024-03-25 17:55:37 | 52.02 | 95.5% |
112 | 2024-03-24 23:01:16 | 56.33 | 95.9% |
72 | 2024-03-22 00:47:37 | 54.68 | 94.7% |
66 | 2024-03-21 17:23:32 | 57.04 | 95.9% |
58 | 2024-03-21 03:31:41 | 58.01 | 96.6% |
39 | 2024-03-17 05:02:03 | 53.36 | 95.7% |
12 | 2024-03-15 18:01:28 | 52.92 | 95.4% |