/* 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 |
---|---|---|---|
57 | 2025-05-25 02:29:47 | 26.83 | 91.7% |
56 | 2025-05-25 02:23:41 | 27.25 | 92.9% |
54 | 2025-05-23 01:45:24 | 28.51 | 93.2% |
48 | 2025-05-20 00:36:53 | 25.63 | 95.5% |
47 | 2025-05-20 00:31:21 | 26.06 | 96.1% |
41 | 2025-05-19 00:42:24 | 22.30 | 95.4% |
20 | 2025-05-18 23:25:51 | 25.03 | 95% |
5 | 2025-05-18 00:13:10 | 21.46 | 94.2% |