From: Brian Candler Date: 2009-10-02T23:49:33+09:00 Subject: Re: socket error handling... Net http 7stud -- wrote: > require 'socket' And how exactly will that help? Especially since net/http.rb already does require 'net/protocol' and net/protocol.rb does require 'socket' ?? *Read* the error message. It says: "getaddrinfo: no address associated with hostname" That is: there was an error in resolving a name to an IP address. Not that a Ruby constant hadn't been defined. -- Posted via http://www.ruby-forum.com/.