[Twisted-web] Re: how to get remote add use twsited.web2

xiao lianyi xiaolianyi at gmail.com
Tue Nov 20 09:39:47 EST 2007


i get a road solve this question.

http://twistedmatrix.com/projects/web2/documentation/howto/resource-apis.xh=
tml

remoteAddr - The address of the
        remote host,
        a twisted.internet.interfaces.IAddress.

use request.remoteAddr.host can get client ip address
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20071120/2f=
2914b4/attachment.htm


More information about the Twisted-web mailing list