Improve Drawboard Example:
- Check if buffered messages exceed a specific size, to avoid a DoS.
- Combine buffered string message to reduce TCP overhead when sending them.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1530325 13f79535-47bb-0310-9956-ffa450edef68
- Use "100" as maximum number of players instead of "2" that was for debug purposes only.
- If a player couldn't enter the room, close the connection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1530342 13f79535-47bb-0310-9956-ffa450edef68
Fix error in JavaScript code.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1530348 13f79535-47bb-0310-9956-ffa450edef68