Ryan Davis wrote: >> i have just begun with ruby and i >> need to create a server with socket getting in input xml and return xml >> in output!! Could some one help me?? > > run: ri GServer Also, have a look at the XMLRPC server which is in the standard library. You'll find it installed on your system somewhere, perhaps somewhere like /usr/lib/ruby/1.8/xmlrpc/server.rb (Note that XMLRPC runs over HTTP rather than a plain socket, but you can probably steal some ideas from this code. Notice that /usr/lib/ruby/1.8/xmlrpc/httpserver.rb uses GServer) -- Posted via http://www.ruby-forum.com/.