From: Dave Thomas Date: 2000-03-02T09:22:45-06:00 Subject: [ruby-talk:01687] Re: gethostbyname? Hugh Sasse Staff Elec Eng writes: > gethostbyname seems to be a method of IPSocket and Socket only. > What is the correct way to invoke it in ruby? Everything I have tried > tells me thee is no data for the machine I am on, although nslookup > shows its existence correctly. There's TCPSocket.gethostbyname() and TCPSocket.getaddress(). Dave