Skip to content

Instantly share code, notes, and snippets.

@kmdsbng
Created November 13, 2013 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmdsbng/7448566 to your computer and use it in GitHub Desktop.
Save kmdsbng/7448566 to your computer and use it in GitHub Desktop.
getting started webio sample
require 'webio'
webio = WebIO.new('0.0.0.0:9999')
while name=webio.gets
webio.puts name
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment