Forum: Italian Ruby user group semplice applicazione client server.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Msan M. (Guest)
on 2009-04-22 00:11
(Received via mailing list)
Client server alla vecchia maniera, cioe' senza il web.
E' possibile costruire con ruby applicazioni con interfaccia grafica?
David W. (Guest)
on 2009-04-22 00:32
(Received via mailing list)
> Client server alla vecchia maniera, cioe' senza il web.

require 'gserver'

class EchoServer < GServer
  def initialize(port=6200, *args)
    super(port, *args)
  end

  def serve(io)
    while line = io.gets
      io.puts line
    end
  end
end

e = EchoServer.new
e.audit = true
e.start.join


> E' possibile costruire con ruby applicazioni con interfaccia grafica?

Certo, usando Tk, Gtk, o altri ancora.

--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/
Sent from Padova, PD, Italy
This topic is locked and can not be replied to.