Persistent XMLRPC Connection

C

Chris Spencer

I noticed the SimpleXMLRPCServer/ServerProxy creates a new socket for
remote procedure call. I've written a simple IP based authentication
scheme for the Server, and I'd like to include the port in the
authentication, which is currently not possible since the port keeps
changing.

I've looked at the code in SimpleXMLRPCServer.py, xmlrpclib.py,
SocketServer.py, and BaseHTTPServer.py, but it's a little overwhelming.
How difficult would it be to reuse connections so that only one port per
persistent client connection is used?

Sincerely,
Chris
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top