require "socket" os=TCPSocket.new("localhost",80) os.puts "GET /" os.puts "" puts os.recv(2000)