/* 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 |
---|---|---|---|
134 | 2025-07-01 03:21:47 | 27.41 | 93% |
121 | 2025-06-25 02:08:52 | 29.28 | 95% |
117 | 2025-06-23 00:55:24 | 29.56 | 94% |
96 | 2025-06-22 20:58:00 | 29.60 | 94% |
93 | 2025-06-21 01:23:52 | 29.63 | 93% |
81 | 2025-06-18 20:26:24 | 30.18 | 94% |
79 | 2025-06-18 20:15:06 | 28.97 | 93% |
38 | 2025-06-09 00:25:18 | 31.30 | 95% |
8 | 2025-06-06 02:23:52 | 28.87 | 93.4% |