From: "R. Mark Volkmann" Date: 2001-04-27T09:58:27+09:00 Subject: [ruby-talk:14281] basic socket question This should be an easy one for anyone that has successfully used sockets in Ruby. What is wrong with this two-line program? require 'socket' socket = TCPSocket.new('services.xmethods.net', 80) I get the following when I run it. SocketTest.rb:2:in `new': Invalid argument - "connect(2)" (Errno::EINVAL) from SocketTest.rb:2 __ __ / \/ \ Object Computing, Inc. \ / ark (314)589-1617 pager (314)579-0066 OCI \ / olkmann mark@ociweb.com \/