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?
Race Result Details |
Racer | Eesa (eesa10) |
Race Number | 4 |
Date | Tue, 6 Jun 2023 13:03:50 +0000 |
Universe | code |
Speed |
44 WPM
![]() |
Accuracy | 97.3% |
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
|