From: Eleanor McHugh Date: 2007-04-12T07:37:19+09:00 Subject: Re: How come this doesn't work? On 11 Apr 2007, at 22:34, Hey You wrote: > Jason Roelofs wrote: >> On 4/11/07, Hey You wrote: >>>>> -- >>> 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 > I will but do you recommend another to access the web that is as > fast as > sockets? I admire your desire to do this stuff at the lowest possible level - it's a great way to learn. However I take task with your belief that direct socket programming will be faster than using an HTTP wrapper library: the round-trip cost of any network communication is orders- of-magnitude greater than the runtime overhead of using even loosely- written interpreted code and is the primary limitation on the 'speed' of your code. Ellie Eleanor McHugh Games With Brains ---- raise ArgumentError unless @reality.responds_to? :reason