Am 11.10.2012 11:42, schrieb Ferdous ara:
> Hi
> i am trying to telnet by ruby.. i went through google. but i am bit
> confused.
> so i need bit help
>
>
> require 'socket'
> host = 'localhost'
> port = 5555
> socket = TCPSocket.open(host,port)
> send = socket.send("recover BD-1",0)
> response = socket.sead
                     ^^^^
typo

> print response


-- 
<https://github.com/stomar/>