/* 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 |
---|---|---|---|
233 | 2025-03-05 07:43:19 | 44.66 | 96.1% |
178 | 2025-01-07 23:02:11 | 41.53 | 94.3% |
151 | 2024-12-27 22:48:17 | 41.41 | 95.5% |
150 | 2024-12-27 19:42:57 | 42.12 | 96.1% |
142 | 2024-12-26 18:09:09 | 42.10 | 96% |
74 | 2024-12-18 19:30:21 | 42.79 | 96.7% |
39 | 2024-12-17 13:05:40 | 42.19 | 95.7% |
30 | 2024-12-16 19:42:35 | 40.18 | 95.9% |
13 | 2024-12-07 08:03:41 | 35.30 | 94.7% |