From: Kent Dahl Date: 2002-10-26T15:26:26+09:00 Subject: Re: simple Net::HTTP operation is eluding me Kevin Pauli wrote: > > I am coming to Ruby from Java and I must say it is fantastic! > > Something that should be basic is eluding me, however. Despite > searching through the PP guide, online references, and usenet posts, I > cannot figure out how to create a Net::HTTP object bound to a specific > local IP address of my choosing. It always seems to want to use > 'localhost'. I am using Ruby 1.6. I just discovered the RAA, are > there perhaps any libraries on there that could help? > > Any pointers in the right direction would be much appreciated. You do pass the local IP in to the new method? http://www.rubycentral.com/book/lib_network.html#Net::HTTP.new -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)