Is it possible to obtain the client's ip address from a
SimpleXMLRPCServer instance or subclass instance? When running
SimpleXMLRPCServer with logRequests = 1, the xmlrpc server prints out
the fqdn on the console, however, I'm not sure if this information
(either fqdn or ip address) is available t
[EMAIL PROTECTED] wrote:
> Is it possible to obtain the client's ip address from a
> SimpleXMLRPCServer instance or subclass instance? When running
> SimpleXMLRPCServer with logRequests = 1, the xmlrpc server prints out
> the fqdn on the console, however, I'm not sure if this information
> (eithe
Thanks for the reply Peter. Can you provide a code snippet for
extracting this data. When I print the dir() of the SimpleXMLRPCServer
instance I do not see a request_handler attribute or method.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Thanks for the reply Peter. Can you provide a code snippet for
> extracting this data. When I print the dir() of the SimpleXMLRPCServer
> instance I do not see a request_handler attribute or method.
this is ok.
In the serverclass-object, there is no such method because
Thanks again Peter. I found 2 potential solutions for obtaining the ip
address of the incoming
connection. The first was to subclass SimpleXMLRPCRequestHandler class
and pass it
to the SimpleXMLRPCServer constructor. In doing so, I could directly
access the client_address via self.client_address