Re: SimpleXMLRPCServer and socket

2006-09-26 Thread Juju
Hi, 2006/9/25, Fredrik Lundh <[EMAIL PROTECTED]>: > I don't have time to dig deeper into this right now, but this post might > be helpful: > > http://article.gmane.org/gmane.comp.python.general/471411 I tried to override the "verify_request" method, it managed to get the ClientAddress, but in

Re: SimpleXMLRPCServer and socket

2006-09-26 Thread Fredrik Lundh
Juju wrote: > But I still have a little question : > > How can I do to know which method I should override to make the things work ? > > Usually, I look at "python.org" but in this case, I couldn't find what > I was looking for. Finally, I had to look at the source files to under- > stand what

Re: SimpleXMLRPCServer and socket

2006-09-25 Thread Fredrik Lundh
Juju wrote: > The problem I have, is I don't know how to get the port used by the > remote host ? just curious, but why do you need the *port* number used by the remote host ? -- http://mail.python.org/mailman/listinfo/python-list

SimpleXMLRPCServer and socket

2006-09-25 Thread Juju
Hi, First, sorry for my poor English ! I used the SimpleXMLRPCServer facility of Python to develop a multithread-server, here's part of my code : -- class TotoSimpleXMLRPCServer(SocketServer.ThreadingMixIn, SimpleXMLRPCServer.SimpleXMLRPCServer): def __init__(self, addr): SimpleXMLRPCServ