TCPSocket question

hi

i'm trying to use TCPSocket the first time and had a problem with it.

<snip>
require "socket"

t = TCPSocket.new('rubyforge.org', 2401)
t.puts "BEGIN VERIFICATION REQUEST\012"
p t.gets
t.close
<snip>

as the process blocks without printing some response i'm wondering
what i'm doing wrong here?

ping is ok. also manual telnet connection with this request gives a response
from the server.

best regards

Günter Glück (ggl)

Try with

t.puts "BEGIN VERIFICATION REQUEST\012"

   t.puts "BEGIN VERIFICATION REQUEST\015\012"

Guy Decoux