Sockets problems on OS X 10.3

  • Thread starter David Heinemeier Hansson
  • Start date
D

David Heinemeier Hansson

It seems like it wasn't Webrick to fault for my problems getting the
simple example running, but rather the basic Socket class in Ruby:

irb(main):002:0> a = Socket.getnameinfo(["AF_INET", '23',
'www.ruby-lang.org'])
SocketError: getnameinfo: System error
from (irb):2:in `getnameinfo'
from (irb):2

I'm kinda lost on how to get further from the very generic "System
error" message. Anyone got a clue on where to find a more fulfilling
error description for something like this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top