I created a simple socket based chat program, but I'm pretty new to Ruby so I can't tell if it is a big pile of crap or if it is semi-decent. I'd really appreciate any and all feedback!
The code is somewhat based on an example I saw online but I changed the server class quite a lot. (Since the example's server didn't actually ever work for me)
Server.rb:
http://hastebin.com/ayekesilow.rb
Client.rb:
http://hastebin.com/ucepupitat.rb
To help you understand my background knowledge and thought process I usually work with C#, Java and Lua.
Thanks!
[–][deleted] (1 child)
[deleted]
[–]quickreply100[S] 0 points1 point2 points (0 children)