hello, I need to know the client address connected to my Twisted XMLRPC server, is there any way?<br>the fellow code couldn't work in my machine.<br><pre>class Examle(xmlrpc.XMLRPC):<br> """An example object to be published."""
<br> <br> def _getPeerAddress(self):<br> return self.request.getClientIP()<br> <br> def render(self, request):<br> self.request = request<br> xmlrpc.XMLRPC.render(self, request)
<br><br>the result is said:<br>"C:\Python24\lib\site-packages\twisted\web\server.py:272: UserWarning: Warning! r<br>equest.finish called twice.<br> http.Request.finish(self)"<br>then how can I get client address in twisted?
<br></pre><br>