From: bussiere bussiere Date: 2010-05-07T05:26:12+09:00 Subject: gserver problem --0016e657b216c720c60485f2c062 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi, i am a beginner in ruby and i've made to tiny scripts but it doesn't seem to work if you have any idea thanks : server : require 'gserver' class BasicServer < GServer def serve(io) loop do line =3D "" line =3D io.gets puts line io.puts("Hello world! "+line ) end end end server =3D BasicServer.new(1234) server.start server.join Client : require "socket" print("Connexion...") clientsock =3D TCPsocket.open("localhost", 1234) print(" termin=E9e\n") clientsock.write("toto") puts(clientsock.gets) clientsock.close regards Bussiere --0016e657b216c720c60485f2c062--