From: Bostjan JERKO Date: 2001-01-18T22:47:57+09:00 Subject: [ruby-talk:9508] http read I want to write a small script to read html data from http server. I wrote/copied something like this, but it doesn't seem to work. require "socket" port = 80 s=TCPSocket.open("192.168.1.1",port) print s.read s.close I guess read is not proper method to use, but I just can't find out which method would be proper. BTW, a suggestion. A page with some examples of Ruby usage would be nice (something like Rebol's site). B.