[Twisted-Python] how to get peer IP address in xmlrpc?

Itamar Shtull-Trauring itamar at itamarst.org
Tue Sep 28 10:12:51 EDT 2004


On Mon, 2004-09-27 at 23:46, Yun Mao wrote:

> where is the transport class in a twisted.xml.XMLRPC so that I can call
> getPeer() to get the IP and port? Or, is there another way to do this?
> Thx.

Make a wrapper resource that provides this to the xmlrpc resource. In
any case, web questions probably belong on the twisted-web mailing list.

-- 
Itamar Shtull-Trauring    http://itamarst.org






More information about the Twisted-Python mailing list