/* 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 |
---|---|---|---|
336 | 2023-07-20 15:55:06 | 44.82 | 96% |
333 | 2023-07-20 15:45:48 | 47.50 | 96.3% |
332 | 2023-07-20 15:42:51 | 46.99 | 96.2% |
303 | 2023-07-19 19:43:54 | 45.00 | 96.5% |
290 | 2023-07-19 01:56:44 | 42.19 | 95.6% |
283 | 2023-07-18 01:23:29 | 42.58 | 96.8% |
255 | 2023-07-15 23:41:07 | 43.10 | 95.9% |
244 | 2023-07-15 23:08:00 | 43.84 | 97% |
238 | 2023-07-15 18:05:08 | 46.39 | 97% |
237 | 2023-07-15 18:01:41 | 41.93 | 95.4% |
223 | 2023-07-15 11:29:58 | 37.42 | 95.5% |
212 | 2023-07-15 10:35:07 | 41.48 | 96.6% |
165 | 2023-07-13 23:03:10 | 42.16 | 97.6% |
138 | 2023-07-13 19:10:35 | 46.21 | 97.4% |
132 | 2023-07-13 17:55:10 | 42.78 | 95.8% |
104 | 2023-07-13 10:12:10 | 40.03 | 97% |
102 | 2023-07-13 03:38:16 | 30.89 | 94.5% |
96 | 2023-07-13 02:32:31 | 38.92 | 94.8% |
59 | 2023-07-12 15:48:03 | 43.67 | 96.7% |
37 | 2023-07-12 14:36:06 | 37.29 | 94.8% |
13 | 2023-07-11 15:53:16 | 42.08 | 96.7% |