Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer tourist (touristhere)
Race Number 60
Date Tue, 9 Apr 2024 07:05:56 +0000
Universe code
Speed 29 WPM Try to beat?
Accuracy 94.6%
Rank 1st place (out of 3)

Text typed:

/** Loop waiting for a connection and a valid command */ while (true) { Socket socket = null; InputStream stream = null; try { socket = serverSocket.accept(); socket.setSoTimeout(10 * 1000); stream = socket.getInputStream(); } catch (AccessControlException ace) { log.warn("StandardServer.accept security exception: " + ace.getMessage(), ace); continue; } catch (IOException e) { log.error("StandardServer.await: accept: ", e); System.exit(1); }
Tomcat Server (software) by Apache Project (see stats)

Typing Review:

Race text:
/** Loop waiting for a connection and a valid command */ while (true) { Socket socket = null; InputStream stream = null; try { socket = serverSocket.accept(); socket.setSoTimeout(10 * 1000); stream = socket.getInputStream(); } catch (AccessControlException ace) { log.warn("StandardServer.accept security exception: " + ace.getMessage(), ace); continue; } catch (IOException e) { log.error("StandardServer.await: accept: ", e); System.exit(1); }
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. Loop
  2. connection
  3. */
  4. Socket
  5. null;
  6. InputStream
  7. stream
  8. null;
  9. {
  10. socket.setSoTimeout(10
  11. socket.getInputStream();
  12. catch
  13. (AccessControlException
  14. log.warn("StandardServer.accept
  15. "
  16. ace.getMessage(),
  17. (IOException
  18. accept:
  19. System.exit(1);