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

Facundo Batista facundobatista at gmail.com
Fri Jan 20 12:23:10 MST 2012


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.

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/




More information about the Twisted-Python mailing list