From: Jason Roelofs Date: 2007-04-12T06:29:33+09:00 Subject: Re: How come this doesn't work? ------=_Part_17399_9099290.1176326968431 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 4/11/07, 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? > > -- > Posted via http://www.ruby-forum.com/. Dealing with the HTTP protocol is not a good way to learn how to use Sockets. Work with your own little socket server and client if you really want to know how to do low-level networking. And PLEASE go change your password NOW. and don't go posting it again. Jason ------=_Part_17399_9099290.1176326968431--