rmssd

Download:

require "socket"
server = TCPServer.open(8888)
loop do
	Thread.fork(server.accept) do |client|
		pmt = ""
		client.puts("# Type 'help' for help")
		loop do
			tmp = ""
			pmt = ""
			tmp = client.gets()
			tmp.strip!
			tmp.downcase!
			case tmp
				when "", nil, false
					pmt = "# Nothing to do"
				when "help"
					pmt = "# Put help here"
				when "bye", "exit", "quit"
					client.close
				else
					pmt = "# Command unknown"
				end
			client.puts(pmt)
			end
		client.close
		end
	end

documentation.txt -> unavailable, yet. Please be patient.
license.txt

This software requires ruby. http://ruby-lang.org

<<< back