From: Hey You Date: 2007-04-12T06:26:38+09:00 Subject: Re: How come this doesn't work? Hey You wrote: > Francis Cianfrocca wrote: >> On 4/11/07, Hey You wrote: >>> charset=UTF-8\r\nHost:"+host+"\r\n\r\n" >>> when I tell it to get the other page it doesn't do anything. I made this >>> code a few seconds ago so I am searching for the answer and I am reading >>> RFC2616. >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> >> >> Is there some reason why you can't use one of the many different ways >> that Ruby provides for accessing web sites? > But why not use sockets? I just want to learn how to use sockets because > aren't http libraries made up of sockets? Or what different ways do you guys suggest. I want it to be fast, thats why I was sticking with "naked" sockets. If you guys can tell me a way to access web sites as fast as sockets then I will try to learn that instead. -- Posted via http://www.ruby-forum.com/.