Ruby server

Hello
Xcuz me my english is not very good!! 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??

···

--
Posted via http://www.ruby-forum.com/.

run: ri GServer

···

On Dec 28, 2009, at 10:48 , Allagbe Brice wrote:

Hello
Xcuz me my english is not very good!! 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??

ok thank you!! i will try!! if i have some problems i will make sign

···

--
Posted via http://www.ruby-forum.com/.

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/\.

thanx you!! really my goal is to create an EPP server!!i use i have
already do the login, hello and logout fonctions; now i would like
disconnect the client if after 5 mn there is not command.finally i use
socket

···

--
Posted via http://www.ruby-forum.com/.