[Twisted-Python] Finding out the IP which it failed to connect

Itamar Turner-Trauring itamar at itamarst.org
Fri Jan 20 22:02:48 EST 2012

On 01/20/2012 02:23 PM, Facundo Batista wrote:
> On Fri, Jan 20, 2012 at 4:06 PM, Kevin Horn<kevin.horn at gmail.com>  wrote:
>> twisted.internet.tcp.Connector has a getDestination() method, which should
>> return an address object.
>> Have you tried that? (I haven't, but it looks like the right thing)
> It returns the name used, not the IP.

That seems... wrong. Perhaps enshrined by prior existence, but wrong 
nonetheless - it's an IPv4Address, it should have an IP. Could you file 
a ticket?

More information about the Twisted-Python mailing list