/* 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 |
|---|---|---|---|
| 230 | 2025-02-13 05:16:03 | 46.75 | 98.2% |
| 223 | 2025-02-12 20:23:59 | 43.69 | 96.7% |
| 193 | 2024-11-29 20:37:18 | 44.83 | 96.9% |
| 192 | 2024-11-27 15:51:46 | 50.04 | 98.6% |
| 167 | 2024-10-22 05:42:05 | 44.51 | 95.8% |
| 159 | 2024-10-18 14:05:50 | 47.50 | 97.4% |
| 155 | 2024-10-18 13:59:05 | 45.30 | 97.6% |
| 105 | 2024-09-18 10:43:46 | 48.64 | 97.3% |
| 100 | 2024-09-18 10:31:42 | 48.30 | 96.4% |
| 55 | 2024-09-01 10:16:47 | 39.31 | 96.8% |
| 51 | 2024-08-25 19:48:09 | 32.07 | 95.3% |
| 14 | 2024-07-08 08:25:27 | 40.05 | 96.6% |