/* 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 |
|---|---|---|---|
| 423 | 2024-03-16 20:35:18 | 35.71 | 95.4% |
| 345 | 2024-03-11 11:58:42 | 36.39 | 94.7% |
| 320 | 2024-03-08 22:13:26 | 32.41 | 93.4% |
| 304 | 2024-03-08 20:56:24 | 32.00 | 94.4% |
| 291 | 2024-03-08 13:22:23 | 32.47 | 93.4% |
| 271 | 2024-03-07 12:40:49 | 33.82 | 94.1% |
| 243 | 2024-03-06 14:54:32 | 31.68 | 93.1% |
| 214 | 2024-03-06 13:38:29 | 34.34 | 94.2% |
| 184 | 2024-03-05 11:49:16 | 32.67 | 94% |
| 171 | 2024-03-04 20:06:33 | 34.28 | 94.8% |
| 163 | 2024-03-04 19:50:33 | 31.53 | 93.5% |
| 124 | 2024-03-02 22:27:04 | 31.77 | 93.4% |
| 78 | 2024-02-04 17:09:11 | 30.51 | 92.6% |
| 30 | 2023-12-29 17:17:36 | 23.80 | 93.2% |
| 28 | 2023-12-29 17:07:44 | 26.24 | 94% |
| 17 | 2023-12-28 20:37:14 | 21.53 | 91.9% |