Tammo Freese <tammo.freese / offis.de> writes:

> $ ruby -ve 'require "socket"; puts Socket.getservbyname("http")'
> ruby 1.6.3 (2001-03-19) [i686-cygwin]
> -e:1:in `getservbyname': no such servce http/tcp (SocketError)
>         from -e:1
> 
> 
> 
> It works at least with finger, telnet and ftp.

My guess is 'http' is not in your system32\drivers\services file.


Dave