From: matz@... (Yukihiro Matsumoto) Date: 2000-10-21T06:58:23+09:00 Subject: [ruby-talk:5722] Re: Help: sockets broken Hi, In message "[ruby-talk:5715] Help: sockets broken" on 00/10/21, jason petrone writes: |Is there something wrong with my build? Or is my code bad, and the ruby build |on my linux machine more forgiving? try: ruby -r socket -e 'TCPSocket::new("127.0.0.1", "80") on you openbsd machine. Probably it fails. I think the reason is getaddrinfo(3) on openbsd does not understand service names represented by numeric strings. Then, your workaround should be require 'net/http' page = Net::HTTP.new('127.0.0.1', 'http') page.start() Maybe, in net/http.rb, we should change like the following: - protocol_param :port, '80' + protocol_param :port, 80 -- matz.