removed newline from echo string

This commit is contained in:
Jeena Paradies 2011-01-25 15:20:32 +01:00
parent 62c3c3f766
commit 265f7242a0

View file

@ -9,7 +9,7 @@ s = TCPSocket.open(hostname, port)
print "What to echo? "
q = gets
s.print(q)
s.print(q.chop)
while true
line = s.gets # Read lines from the socket