/* 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 |
|---|---|---|---|
| 155 | 2025-01-23 18:35:44 | 33.37 | 94.8% |
| 146 | 2025-01-11 11:45:27 | 33.92 | 95.5% |
| 134 | 2025-01-10 16:26:21 | 33.60 | 96.2% |
| 108 | 2025-01-02 21:14:18 | 26.25 | 95% |
| 90 | 2024-12-30 05:35:51 | 26.59 | 93.4% |
| 46 | 2024-11-17 10:15:52 | 31.95 | 95.8% |
| 42 | 2024-11-17 10:07:29 | 25.00 | 94.7% |
| 30 | 2024-11-11 18:07:58 | 27.71 | 94.8% |
| 27 | 2024-11-09 15:11:45 | 24.66 | 93.5% |