/* 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 |
|---|---|---|---|
| 86 | 2025-07-03 03:22:19 | 38.13 | 96% |
| 78 | 2025-06-26 07:10:04 | 35.05 | 97% |
| 75 | 2025-06-06 03:20:41 | 42.29 | 98% |
| 63 | 2025-06-01 09:14:04 | 36.24 | 96% |
| 51 | 2025-05-07 18:19:39 | 37.30 | 98% |
| 6 | 2025-02-19 06:15:13 | 24.05 | 96% |