<filename>pyzmq/examples/bench/xmlrpc_server.py<gh_stars>0
from SimpleXMLRPCServer import SimpleXMLRPCServer

def echo(x):
    return x

server = SimpleXMLRPCServer(('localhost',10002))
server.register_function(echo)
server.serve_forever()
<filename>pyzmq/examples/bench/xmlrpc_server.py<gh_stars>0
from SimpleXMLRPCServer import SimpleXMLRPCServer

def echo(x):
    return x

server = SimpleXMLRPCServer(('localhost',10002))
server.register_function(echo)
server.serve_forever()