From: Alan Johnson Date: 2008-11-18T09:15:04+09:00 Subject: Does SOCKSSocket work? ------=_Part_12266_17336965.1226967514431 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am having trouble with class SOCKSSocket. I am trying to get the following minimal example to work: require 'socket' s = SOCKSSocket.new('www.google.com', 80) Running this I get: $ ruby example.rb example.rb:2: uninitialized constant SOCKSSocket (NameError) First, I assume that SOCKS support must be compiled into ruby, but I cannot determine which set of compile flags enables it. Second, looking at the ruby source code, it appears that the only SOCKSSocket methods that are even defined are initialize and close, which makes me wonder how it could possibly work. If it matters I am using Fedora 9. Thanks. -- Alan ------=_Part_12266_17336965.1226967514431--