/* 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 |
|---|---|---|---|
| 121 | 2025-11-08 18:56:47 | 42.04 | 97% |
| 112 | 2025-11-08 18:42:16 | 41.14 | 96% |
| 108 | 2025-10-19 04:51:56 | 33.94 | 95% |
| 38 | 2025-06-29 00:06:26 | 34.33 | 96% |
| 20 | 2025-06-04 20:38:54 | 34.52 | 96% |