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
   \/