Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

require 'socket'

port=2323

server=TCPServer.new('192.168.1.42',port)
while (session=server.accept)
        puts "accept session: " + session.inspect
        session.print "OK"
        while (input=session.gets)
                p input
        end
end