cs253/f12 — pull request #8 by brockjw (2012-12-08 03:58:59+00:00)
Title: Friday Evening - Echo Server Design

I added the echo server with the following design. Some questions I have are if I can assume the JSon format hash will be a string, and whether there is a way to return HTML code (as a string, I am assuming) through a TCPServer.

-Jake

# Design:
# (1) Open socket and accept
# (2) Each input is a hash in JSon format
# (3) Convert the JSon format hash to a ruby hash
# (4) Create html using CGI to display the information in the hash
# (5) Return that html to the client, though I am not sure how to
# do that with a TCPServer...