Ruby server

A

Allagbe Brice

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??
 
R

Ryan Davis

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??

run: ri GServer
 
B

Brian Candler

Ryan said:
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)
 
A

Allagbe Brice

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top