SimpleXMLRPCServer and creating a new object on for each new client request.
Martin P. Hellwig
martin.hellwig at dcuktec.org
Sun May 10 20:12:26 EDT 2009
Piet van Oostrum wrote:
>>>>>> google at smetj.net (g) wrote:
>> g> Well, I think Martin's example will suit my needs.
>> g> Thanks for the explanation!
> His client code is unnecessarily complicated with 3 session variables.
> The following code does the same:
> SESSION = xmlrpclib.ServerProxy(URL_PORT)
I was actually aware of that, but I thought it would be more educational
if I rewrote Jelle's example by using code conformity and a way to test
server and client in a single script instead of just rewriting it to the
given intent. With the knowledge provided, Jelle should be able to
redesign his program to what he actually wants to do with it and cutting
out the croft himself.
P.S. Piet ben je toevallig lid van NLUUG?
'If consumed, best digested with added seasoning to own preference.'
More information about the Python-list